All methods of ActorRenderer.ModelPart build in such a way, that you can create full render in one chain of calls.
new ActorRenderer() .addPart("child", "parent") .addBox(-4, -4, -4, 4, 0, 4) .addPart("grandChild", "child") .addBox(-4, 0, -4, 4, 4, 4) .setOffset(0, 4, 0) .endPart(); Copy
new ActorRenderer() .addPart("child", "parent") .addBox(-4, -4, -4, 4, 0, 4) .addPart("grandChild", "child") .addBox(-4, 0, -4, 4, 4, 4) .setOffset(0, 4, 0) .endPart();
increases the box by a certain value in all directions
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
All methods of ActorRenderer.ModelPart build in such a way, that you can create full render in one chain of calls.
Example