net.minecraft.client.model

public abstract class Model<S>

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

Field summary

Modifier and TypeField
protected final ModelPart
root
field_54014
root
protected final Function<Identifier, RenderLayer>
renderType
field_21343
layerFunction
private final List<ModelPart>
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()
method_1_2934()
getLayerFunction()
public final RenderLayer
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)
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 ModelPart
root()
method_63512()
getRootPart()
public final List<ModelPart>
allParts()
method_63513()
getParts()
public void
setupAnim(S state)
method_2819(S arg0)
setAngles(S state)
public final void
resetPose()
method_63514()
resetTransforms()