Class GuiItemRenderState
java.lang.Object
net.minecraft.client.gui.render.state.GuiItemRenderState
- All Implemented Interfaces:
ScreenArea
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable ScreenRectangleprivate final TrackingItemStackRenderStateprivate final Stringprivate final @Nullable ScreenRectangleprivate final Matrix3x2fprivate final @Nullable ScreenRectangleprivate final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionGuiItemRenderState(String pName, Matrix3x2f pPose, TrackingItemStackRenderState pItemStackRenderState, int pX, int pY, @Nullable ScreenRectangle pScissorArea) -
Method Summary
Modifier and TypeMethodDescription@Nullable ScreenRectanglebounds()private @Nullable ScreenRectanglecalculateBounds(ScreenRectangle pRectangle) private @Nullable ScreenRectanglename()@Nullable ScreenRectanglepose()@Nullable ScreenRectangleintx()inty()
-
Field Details
-
name
-
pose
-
itemStackRenderState
-
x
private final int x -
y
private final int y -
scissorArea
-
oversizedItemBounds
-
bounds
-
-
Constructor Details
-
Method Details
-
calculateOversizedItemBounds
-
name
-
pose
-
itemStackRenderState
-
x
public int x() -
y
public int y() -
scissorArea
-
oversizedItemBounds
-
bounds
- Specified by:
boundsin interfaceScreenArea
-