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 efh$b
intermediary net/minecraft/class_481$class_483
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler
-
Field Summary
Fields inherited from class net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canInsertIntoSlot
(ItemStack stack, Slot slot) boolean
canInsertIntoSlot
(Slot slot) boolean
canUse
(PlayerEntity player) void
scrollItems
(float position) void
setCursorStack
(ItemStack stack) boolean
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, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getRevision, getSlot, getSlotIndex, getStacks, getType, insertItem, isValid, nextRevision, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPreviousCursorStack, setPreviousTrackedSlot, setPreviousTrackedSlotMutable, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler, updateToClient
-
Field Details
-
itemList
- Mappings:
Namespace Name Mixin selector official k
Lefh$b;k:Lgx;
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;
-
parent
- Mappings:
Namespace Name Mixin selector official l
Lefh$b;l:Lbqp;
intermediary field_29349
Lnet/minecraft/class_481$class_483;field_29349:Lnet/minecraft/class_1703;
named parent
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;parent:Lnet/minecraft/screen/ScreenHandler;
-
-
Constructor Details
-
CreativeScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lefh$b;<init>(Lboj;)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
Lbqp;a(Lboj;)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
Lefh$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 l
Lefh$b;l()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
Lbqp;b(Lboj;I)Lbuw;
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
Lbqp;a(Lbuw;Lbsg;)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
Lbqp;b(Lbsg;)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
-
getCursorStack
- Overrides:
getCursorStack
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official g
Lbqp;g()Lbuw;
intermediary method_34255
Lnet/minecraft/class_1703;method_34255()Lnet/minecraft/class_1799;
named getCursorStack
Lnet/minecraft/screen/ScreenHandler;getCursorStack()Lnet/minecraft/item/ItemStack;
-
setCursorStack
- Overrides:
setCursorStack
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbqp;b(Lbuw;)V
intermediary method_34254
Lnet/minecraft/class_1703;method_34254(Lnet/minecraft/class_1799;)V
named setCursorStack
Lnet/minecraft/screen/ScreenHandler;setCursorStack(Lnet/minecraft/item/ItemStack;)V
-