Class CreativeInventoryScreen.CreativeScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.CreativeScreenHandler
- Enclosing class:
- CreativeInventoryScreen
@Environment(CLIENT)
static class CreativeInventoryScreen.CreativeScreenHandler
extends ScreenHandler
- Mappings:
Namespace Name official bga$aintermediary net/minecraft/class_415$class_416named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInsertIntoSlot(Slot slot) booleancanInsertIntoSlot(ItemStack stack, Slot slot) booleancanUse(PlayerEntity player) booleanisFull()protected voidonSlotClick(int slotId, int clickData, boolean bool, PlayerEntity player) voidscrollItems(float position) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertItemIntoSlot, close, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_3252, method_3255, onButtonClick, onContentChanged, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
itemList
- Mappings:
Namespace Name Mixin selector official aLbga$a;a:Ljava/util/List;intermediary field_1384Lnet/minecraft/class_415$class_416;field_1384:Ljava/util/List;named itemListLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;itemList:Ljava/util/List;
-
-
Constructor Details
-
CreativeScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbga$a;<init>(Lzj;)Vintermediary <init>Lnet/minecraft/class_415$class_416;<init>(Lnet/minecraft/class_988;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Lzj;)Zintermediary method_3269Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
scrollItems
public void scrollItems(float position) - Mappings:
Namespace Name Mixin selector official aLbga$a;a(F)Vintermediary method_1152Lnet/minecraft/class_415$class_416;method_1152(F)Vnamed scrollItemsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;scrollItems(F)V
-
isFull
public boolean isFull()- Mappings:
Namespace Name Mixin selector official eLbga$a;e()Zintermediary method_1153Lnet/minecraft/class_415$class_416;method_1153()Znamed isFullLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;isFull()Z
-
onSlotClick
- Overrides:
onSlotClickin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(IIZLzj;)Vintermediary method_3267Lnet/minecraft/class_1002;method_3267(IIZLnet/minecraft/class_988;)Vnamed onSlotClickLnet/minecraft/screen/ScreenHandler;onSlotClick(IIZLnet/minecraft/entity/player/PlayerEntity;)V
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b(Lzj;I)Ladq;intermediary method_3265Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Ladq;Labt;)Zintermediary method_5449Lnet/minecraft/class_1002;method_5449(Lnet/minecraft/class_1071;Lnet/minecraft/class_1026;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b(Labt;)Zintermediary method_5452Lnet/minecraft/class_1002;method_5452(Lnet/minecraft/class_1026;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/inventory/slot/Slot;)Z
-