Class LeashKnotRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<LeashFenceKnotEntity>
net.minecraft.client.renderer.entity.LeashKnotRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation
private final LeashKnotModel
<LeashFenceKnotEntity> Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(LeashFenceKnotEntity pEntity) Returns the location of an entity's texture.void
render
(LeashFenceKnotEntity pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
KNOT_LOCATION
-
model
-
-
Constructor Details
-
LeashKnotRenderer
-
-
Method Details
-
render
public void render(LeashFenceKnotEntity pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
render
in classEntityRenderer<LeashFenceKnotEntity>
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<LeashFenceKnotEntity>
-