MCPcopy Create free account
hub / github.com/McJty/TutorialV3 / ThiefModel

Class ThiefModel

src/main/java/com/example/tutorialv3/entities/ThiefModel.java:12–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import net.minecraft.resources.ResourceLocation;
11
12public class ThiefModel extends HumanoidModel<ThiefEntity> {
13
14 public static final String BODY = "body";
15
16 public static ModelLayerLocation THIEF_LAYER = new ModelLayerLocation(new ResourceLocation(TutorialV3.MODID, "thief"), BODY);
17
18 public static LayerDefinition createBodyLayer() {
19 MeshDefinition meshdefinition = createMesh(CubeDeformation.NONE, 0.6f);
20 return LayerDefinition.create(meshdefinition, 64, 32);
21 }
22
23 public ThiefModel(ModelPart part) {
24 super(part);
25 }
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected