Class Model<S>
java.lang.Object
net.minecraft.client.model.Model<S>
- Direct Known Subclasses:
BannerFlagModel, BannerModel, BeeStingerModel, BellModel, BookModel, ChestModel, CopperGolemStatueModel, EntityModel, GuardianParticleModel, Model.Simple, ShieldModel, ShulkerBoxRenderer.ShulkerBoxModel, SkullModelBase, TridentModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Function<Identifier, RenderType> protected final ModelPart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallParts()protected static AnimationHoldergetAnimation(Identifier key) final voidrenderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords) final voidrenderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords, int color) final Function<Identifier, RenderType> final RenderTyperenderType(Identifier texture) final voidfinal ModelPartroot()void
-
Field Details
-
root
-
renderType
-
allParts
-
-
Constructor Details
-
Model
-
-
Method Details
-
getAnimation
-
renderType
-
renderType
-
renderToBuffer
public final void renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords, int color) -
renderToBuffer
public final void renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords) -
root
-
allParts
-
setupAnim
-
resetPose
public final void resetPose()
-