extends ClickableWidget
All mapped superinterfaces:
Widget, Drawable, Element, Navigable, Selectable, Narratable
| net.minecraft.client.gui.components.inventory.SlotWidget | |
| net.minecraft.class_1_1961 | |
| net.minecraft.class_1_1961 |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private static final int |
|
||||||
| private static final int |
|
||||||
| private static final int |
|
||||||
| protected static final Identifier |
|
||||||
| protected static final Identifier |
|
||||||
| private final Slot |
|
||||||
| private final Function<Slot, Tooltip> |
|
||||||
| private final Supplier<Tooltip> |
|
||||||
| private final TextRenderer |
|
||||||
| protected final MinecraftClient |
|
||||||
| private final int |
|
||||||
| private ItemStack |
|
||||||
| private String |
|
||||||
| private final TooltipSubmenuHandler |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Slot slot, MinecraftClient minecraft, int containerWidth, int leftPos, int topPos) |
| public | (Slot slot, MinecraftClient minecraft, int containerWidth, int leftPos, int topPos, Supplier<Tooltip> emptySlotTooltip) |
| public | (Slot slot, MinecraftClient minecraft, int containerWidth, int leftPos, int topPos, Function<Slot, Tooltip> tooltipSupplier, Supplier<Tooltip> emptySlotTooltip) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| private static Function<Slot, Tooltip> |
|
||||||
| public Slot |
|
||||||
| public void |
|
||||||
| public void |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| private boolean |
|
||||||
| private void |
|
||||||
| public boolean |
|
||||||
| public void |
|
||||||
| public void |
|
||||||
| public boolean |
|
||||||
| public void |
|
||||||
| protected void |
|
||||||
| void |
|
||||||
| private void |
|
||||||
| private Text |
|
||||||
| protected Text |
|
||||||
| protected Text |
|
||||||
| private static Text |
|
||||||
| protected void |
|
||||||
| private static Tooltip |
|
||||||
| private static Tooltip |
|