Class ParrotOnShoulderLayer
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<PlayerRenderState,PlayerModel>
net.minecraft.client.renderer.entity.layers.ParrotOnShoulderLayer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParrotOnShoulderLayer(RenderLayerParent<PlayerRenderState, PlayerModel> renderer, EntityModelSet modelSet) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, PlayerRenderState renderState, float yRot, float xRot) private voidrenderOnShoulder(PoseStack poseStack, MultiBufferSource buffer, int packedLight, PlayerRenderState renderState, Parrot.Variant variant, float yRot, float xRot, boolean leftShoulder) Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, renderColoredCutoutModel
-
Field Details
-
model
-
parrotState
-
-
Constructor Details
-
ParrotOnShoulderLayer
public ParrotOnShoulderLayer(RenderLayerParent<PlayerRenderState, PlayerModel> renderer, EntityModelSet modelSet)
-
-
Method Details
-
render
public void render(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, PlayerRenderState renderState, float yRot, float xRot) - Specified by:
renderin classRenderLayer<PlayerRenderState,PlayerModel>
-
renderOnShoulder
private void renderOnShoulder(PoseStack poseStack, MultiBufferSource buffer, int packedLight, PlayerRenderState renderState, Parrot.Variant variant, float yRot, float xRot, boolean leftShoulder)
-