Class ModelTree
java.lang.Object
dev.engine_room.flywheel.lib.model.part.ModelTree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchild(int index) @Nullable ModelTreeintintchildIndex(String name) childName(int index) childOrThrow(String name) booleannet.minecraft.client.model.geom.PartPose@Nullable Modelmodel()
-
Constructor Details
-
ModelTree
public ModelTree(@Nullable @Nullable Model model, net.minecraft.client.model.geom.PartPose initialPose, Map<String, ModelTree> children) Create a new ModelTree node.- Parameters:
model- The model to associate with this node, or null if this node does not render.initialPose- The initial pose of this node.children- The children of this node.
-
-
Method Details
-
model
-
initialPose
public net.minecraft.client.model.geom.PartPose initialPose() -
childCount
public int childCount() -
child
-
childName
-
childIndex
-
hasChild
-
child
-
childOrThrow
-