Class GuiItemRenderState
java.lang.Object
net.minecraft.client.renderer.state.gui.GuiItemRenderState
- All Implemented Interfaces:
ScreenArea
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable ScreenRectangleprivate final TrackingItemStackRenderStateprivate final @Nullable ScreenRectangleprivate final Matrix3x2fprivate final @Nullable ScreenRectangleprivate final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionGuiItemRenderState(Matrix3x2f pose, TrackingItemStackRenderState itemStackRenderState, int x, int y, @Nullable ScreenRectangle scissorArea) -
Method Summary
Modifier and TypeMethodDescriptionbounds()private @Nullable ScreenRectanglecalculateBounds(ScreenRectangle itemBounds) private @Nullable ScreenRectanglepose()intx()inty()
-
Field Details
-
pose
-
itemStackRenderState
-
x
private final int x -
y
private final int y -
scissorArea
-
oversizedItemBounds
-
bounds
-
-
Constructor Details
-
Method Details
-
calculateOversizedItemBounds
-
pose
-
itemStackRenderState
-
x
public int x() -
y
public int y() -
scissorArea
-
oversizedItemBounds
-
bounds
- Specified by:
boundsin interfaceScreenArea
-