Class BackpackCraftingModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<net.minecraft.world.entity.Entity>
com.hammy275.immersivemc.client.model.BackpackCraftingModel
public class BackpackCraftingModel
extends net.minecraft.client.model.EntityModel<net.minecraft.world.entity.Entity>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.client.model.geom.ModelLayerLocation
static final net.minecraft.resources.ResourceLocation
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinition
void
renderToBuffer
(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) void
setupAnim
(net.minecraft.world.entity.Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
LAYER_LOCATION
public static final net.minecraft.client.model.geom.ModelLayerLocation LAYER_LOCATION -
textureLocation
public static final net.minecraft.resources.ResourceLocation textureLocation
-
-
Constructor Details
-
BackpackCraftingModel
public BackpackCraftingModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
setupAnim
public void setupAnim(net.minecraft.world.entity.Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnim
in classnet.minecraft.client.model.EntityModel<net.minecraft.world.entity.Entity>
-
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Specified by:
renderToBuffer
in classnet.minecraft.client.model.Model
-