Class GuiEntityRenderer
java.lang.Object
net.minecraft.client.gui.render.pip.PictureInPictureRenderer<GuiEntityRenderState>
net.minecraft.client.gui.render.pip.GuiEntityRenderer
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.render.pip.PictureInPictureRenderer
bufferSource
-
Constructor Summary
ConstructorsConstructorDescriptionGuiEntityRenderer
(MultiBufferSource.BufferSource pBufferSource, EntityRenderDispatcher pEntityRenderDispatcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected float
getTranslateY
(int pHeight, int pGuiScale) protected void
renderToTexture
(GuiEntityRenderState pRenderState, PoseStack pPoseStack) Methods inherited from class net.minecraft.client.gui.render.pip.PictureInPictureRenderer
blitTexture, canBeReusedFor, close, prepare, textureIsReadyToBlit
-
Field Details
-
entityRenderDispatcher
-
-
Constructor Details
-
GuiEntityRenderer
public GuiEntityRenderer(MultiBufferSource.BufferSource pBufferSource, EntityRenderDispatcher pEntityRenderDispatcher)
-
-
Method Details
-
getRenderStateClass
- Specified by:
getRenderStateClass
in classPictureInPictureRenderer<GuiEntityRenderState>
-
renderToTexture
- Specified by:
renderToTexture
in classPictureInPictureRenderer<GuiEntityRenderState>
-
getTranslateY
protected float getTranslateY(int pHeight, int pGuiScale) - Overrides:
getTranslateY
in classPictureInPictureRenderer<GuiEntityRenderState>
-
getTextureLabel
- Specified by:
getTextureLabel
in classPictureInPictureRenderer<GuiEntityRenderState>
-