Class UsefulHatModel<T extends net.minecraft.client.renderer.entity.state.HumanoidRenderState>
java.lang.Object
net.minecraft.client.model.Model<T>
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HumanoidModel<T>
de.cech12.usefulhats.client.UsefulHatModel<T>
- All Implemented Interfaces:
net.minecraft.client.model.ArmedModel<T>, net.minecraft.client.model.HeadedModel
public class UsefulHatModel<T extends net.minecraft.client.renderer.entity.state.HumanoidRenderState>
extends net.minecraft.client.model.HumanoidModel<T>
Hat model class, which adds a hat flat addition (like straw hat for villagers) .
The hat is a half pixel higher than a normal helmet.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
net.minecraft.client.model.HumanoidModel.ArmPoseNested classes/interfaces inherited from class net.minecraft.client.model.Model
net.minecraft.client.model.Model.Simple -
Field Summary
Fields inherited from class net.minecraft.client.model.HumanoidModel
ADULT_ARMOR_PARTS_PER_SLOT, BABY_ARMOR_PARTS_PER_SLOT, BABY_TRANSFORMER, body, hat, HAT_OVERLAY_SCALE, head, leftArm, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightLeg, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASEFields inherited from class net.minecraft.client.model.EntityModel
MODEL_Y_OFFSETFields inherited from class net.minecraft.client.model.Model
renderType, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinitioncreateLayer(net.minecraft.client.model.geom.builders.CubeDeformation deform, float offset) Methods inherited from class net.minecraft.client.model.HumanoidModel
createArmorMeshSet, createArmorMeshSet, createBabyArmorMeshSet, createMesh, getArm, getHead, setupAnim, setupAttackAnimation, translateToHandMethods inherited from class net.minecraft.client.model.Model
allParts, renderToBuffer, renderToBuffer, renderType, renderType, resetPose, rootMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.model.HeadedModel
translateToHead
-
Constructor Details
-
UsefulHatModel
public UsefulHatModel(net.minecraft.client.model.geom.ModelPart modelPart)
-
-
Method Details
-
createLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createLayer(net.minecraft.client.model.geom.builders.CubeDeformation deform, float offset)
-