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 PictureInPictureRenderer
bufferSource -
Constructor Summary
ConstructorsConstructorDescriptionGuiEntityRenderer(MultiBufferSource.BufferSource bufferSource, EntityRenderDispatcher entityRenderDispatcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected floatgetTranslateY(int height, int guiScale) protected voidrenderToTexture(GuiEntityRenderState entityState, PoseStack poseStack) Methods inherited from class PictureInPictureRenderer
blitTexture, canBeReusedFor, close, prepare, textureIsReadyToBlit
-
Field Details
-
entityRenderDispatcher
-
-
Constructor Details
-
GuiEntityRenderer
public GuiEntityRenderer(MultiBufferSource.BufferSource bufferSource, EntityRenderDispatcher entityRenderDispatcher)
-
-
Method Details
-
getRenderStateClass
- Specified by:
getRenderStateClassin classPictureInPictureRenderer<GuiEntityRenderState>
-
renderToTexture
- Specified by:
renderToTexturein classPictureInPictureRenderer<GuiEntityRenderState>
-
getTranslateY
protected float getTranslateY(int height, int guiScale) - Overrides:
getTranslateYin classPictureInPictureRenderer<GuiEntityRenderState>
-
getTextureLabel
- Specified by:
getTextureLabelin classPictureInPictureRenderer<GuiEntityRenderState>
-