Class CreativeInventoryScreen.CreativeScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.CreativeScreenHandler
- Enclosing class:
- CreativeInventoryScreen
@Environment(CLIENT) public static class CreativeInventoryScreen.CreativeScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official dwn$b
intermediary net/minecraft/class_481$class_483
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler
-
Field Summary
Fields Modifier and Type Field Description DefaultedList<ItemStack>
itemList
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description CreativeScreenHandler(PlayerEntity player)
-
Method Summary
Modifier and Type Method Description boolean
canInsertIntoSlot(ItemStack stack, Slot slot)
boolean
canInsertIntoSlot(Slot slot)
boolean
canUse(PlayerEntity player)
void
scrollItems(float position)
boolean
shouldShowScrollbar()
ItemStack
transferSlot(PlayerEntity player, int index)
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
itemList
- Mappings:
Namespace Name Mixin selector official c
Ldwn$b;c:Lgj;
intermediary field_2897
Lnet/minecraft/class_481$class_483;field_2897:Lnet/minecraft/class_2371;
named itemList
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;itemList:Lnet/minecraft/util/collection/DefaultedList;
-
-
Constructor Details
-
CreativeScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Ldwn$b;<init>(Lbhl;)V
intermediary <init>
Lnet/minecraft/class_481$class_483;<init>(Lnet/minecraft/class_1657;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbhl;)Z
intermediary method_7597
Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
named canUse
Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
scrollItems
public void scrollItems(float position)- Mappings:
Namespace Name Mixin selector official a
Ldwn$b;a(F)V
intermediary method_2473
Lnet/minecraft/class_481$class_483;method_2473(F)V
named scrollItems
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;scrollItems(F)V
-
shouldShowScrollbar
public boolean shouldShowScrollbar()- Mappings:
Namespace Name Mixin selector official e
Ldwn$b;e()Z
intermediary method_2474
Lnet/minecraft/class_481$class_483;method_2474()Z
named shouldShowScrollbar
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;shouldShowScrollbar()Z
-
transferSlot
- Overrides:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lbhl;I)Lbnv;
intermediary method_7601
Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
named transferSlot
Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbnv;Lblh;)Z
intermediary method_7613
Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Z
named canInsertIntoSlot
Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lblh;)Z
intermediary method_7615
Lnet/minecraft/class_1703;method_7615(Lnet/minecraft/class_1735;)Z
named canInsertIntoSlot
Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/screen/slot/Slot;)Z
-