Class StuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>>
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
net.minecraft.client.renderer.entity.layers.StuckInBodyLayer<T,M>
- Direct Known Subclasses:
ArrowLayer,BeeStingerLayer
public abstract class StuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>>
extends RenderLayer<T,M>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract intvoidrender(PoseStack poseStack, MultiBufferSource buffer, int packedLight, T livingEntity, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) protected abstract voidrenderStuckItem(PoseStack poseStack, MultiBufferSource buffer, int packedLight, Entity entity, float x, float y, float z, float partialTick) Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Constructor Details
-
StuckInBodyLayer
-
-
Method Details
-
numStuck
-
renderStuckItem
protected abstract void renderStuckItem(PoseStack poseStack, MultiBufferSource buffer, int packedLight, Entity entity, float x, float y, float z, float partialTick) -
render
public void render(PoseStack poseStack, MultiBufferSource buffer, int packedLight, T livingEntity, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
renderin classRenderLayer<T extends LivingEntity,M extends PlayerModel<T>>
-