net.minecraft.client.model

public abstract class Model<S>

net.minecraft.client.model.Model
net.minecraft.client.model.Model
net.minecraft.class_3879
net.minecraft.client.model.Model

Field summary

Modifier and TypeField
protected final ModelPart
root
root
field_54014
root
protected final Function<Identifier, RenderLayer>
renderType
renderType
field_21343
layerFunction
private final List<ModelPart>
allParts
allParts
field_54013
parts

Constructor summary

ModifierConstructor
public (ModelPart root, Function<Identifier, RenderLayer> layerFunction)

Method summary

Modifier and TypeMethod
public final Function<Identifier, RenderLayer>
renderType()
renderType()
method_1_2934()
getLayerFunction()
public final RenderLayer
renderType(Identifier texture)
renderType(Identifier texture)
method_23500(class_2960 arg0)
getLayer(Identifier texture)
public final void
renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords, int color)
renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords, int color)
method_62100(class_4587 arg0, class_4588 arg1, int arg2, int arg3, int arg4)
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color)
public final void
renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords)
renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords)
method_60879(class_4587 arg0, class_4588 arg1, int arg2, int arg3)
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
public final ModelPart
root()
root()
method_63512()
getRootPart()
public final List<ModelPart>
allParts()
allParts()
method_63513()
getParts()
public void
setupAnim(S state)
setupAnim(S state)
method_2819(S arg0)
setAngles(S state)
public final void
resetPose()
resetPose()
method_63514()
resetTransforms()