Package net.minecraft.client.gui.tooltip
Class BundleTooltipComponent
java.lang.Object
net.minecraft.client.gui.tooltip.BundleTooltipComponent
- All Implemented Interfaces:
TooltipComponent
@Environment(CLIENT) public class BundleTooltipComponent extends Object implements TooltipComponent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
BundleTooltipComponent.class_5771
-
Field Summary
Fields Modifier and Type Field Description static Identifier
field_28359
private int
field_28360
private DefaultedList<ItemStack>
inventory
-
Constructor Summary
Constructors Constructor Description BundleTooltipComponent(BundleTooltipData bundleTooltipData)
-
Method Summary
Modifier and Type Method Description void
drawItems(TextRenderer textRenderer, int x, int y, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)
int
getHeight()
int
getWidth(TextRenderer textRenderer)
private void
method_33286(int int2, int int3, int int4, int int5, MatrixStack matrixStack, int int6, TextureManager textureManager)
private void
method_33287(int int2, int int3, int int4, boolean bool, TextRenderer textRenderer, MatrixStack matrixStack, ItemRenderer itemRenderer, int int5, TextureManager textureManager)
private void
method_33288(MatrixStack matrixStack, int int2, int int3, int int4, TextureManager textureManager, BundleTooltipComponent.class_5771 class_5771)
private int
method_33289()
private int
method_33290()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.tooltip.TooltipComponent
drawText
-
Field Details
-
field_28359
-
inventory
-
field_28360
private final int field_28360
-
-
Constructor Details
-
BundleTooltipComponent
-
-
Method Details
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceTooltipComponent
-
getWidth
- Specified by:
getWidth
in interfaceTooltipComponent
-
drawItems
public void drawItems(TextRenderer textRenderer, int x, int y, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)- Specified by:
drawItems
in interfaceTooltipComponent
-
method_33287
private void method_33287(int int2, int int3, int int4, boolean bool, TextRenderer textRenderer, MatrixStack matrixStack, ItemRenderer itemRenderer, int int5, TextureManager textureManager) -
method_33286
private void method_33286(int int2, int int3, int int4, int int5, MatrixStack matrixStack, int int6, TextureManager textureManager) -
method_33288
private void method_33288(MatrixStack matrixStack, int int2, int int3, int int4, TextureManager textureManager, BundleTooltipComponent.class_5771 class_5771) -
method_33289
private int method_33289() -
method_33290
private int method_33290()
-