Class VanillaState
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.armature.vanilla.VanillaState
What a vanilla mob is drawn with this frame, beyond vanilla: its animator (for clips and modifiers), its
attachments' frames by the index of the attachment in its
VanillaModel (null where one isn't worn), and,
found once when first needed, the parts other animation libraries are moving.-
Constructor Summary
ConstructorsConstructorDescriptionVanillaState(VanillaModel model, Animator animator, @Nullable ArmatureFrame[] frames, @Nullable net.minecraft.resources.Identifier[] textures, boolean mirrored) -
Method Summary
Modifier and TypeMethodDescriptionanimator()attachment(int index) @Nullable ArmatureFrameframe(int index) @Nullable ArmatureFrame[]frames()booleanmirrored()Whether clips play mirrored (a left-handed entity, withmirrorLeftHanded).model()@Nullable net.minecraft.resources.Identifier[]textures()
-
Constructor Details
-
VanillaState
public VanillaState(VanillaModel model, Animator animator, @Nullable @Nullable ArmatureFrame[] frames, @Nullable @Nullable net.minecraft.resources.Identifier[] textures, boolean mirrored)
-
-
Method Details
-
mirrored
public boolean mirrored()Whether clips play mirrored (a left-handed entity, withmirrorLeftHanded). -
model
-
animator
-
frames
-
textures
@Nullable public @Nullable net.minecraft.resources.Identifier[] textures() -
frame
-
attachment
-