Class CreativeInventoryScreen.CreativeInventorySlot
java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.CreativeInventorySlot
- Enclosing class:
- CreativeInventoryScreen
- Mappings:
Namespace Name official ayu$bintermediary net/minecraft/class_415$class_417named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeInventorySlot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintintgetMaxStackAmount(ItemStack stack) getStack()booleanhasStack()voidvoidonTakeItem(PlayerEntity player, ItemStack stack) voidtakeStack(int amount) Methods inherited from class net.minecraft.inventory.slot.Slot
canTakeItems, doDrawHoveringEffect, onCrafted, onCrafted, onStackChanged
-
Field Details
-
slot
- Mappings:
Namespace Name Mixin selector official bLayu$b;b:Lyg;intermediary field_1386Lnet/minecraft/class_415$class_417;field_1386:Lnet/minecraft/class_1026;named slotLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeInventorySlot;slot:Lnet/minecraft/inventory/slot/Slot;
-
-
Constructor Details
-
CreativeInventorySlot
- Mappings:
Namespace Name Mixin selector official <init>Layu$b;<init>(Layu;Lyg;I)Vintermediary <init>Lnet/minecraft/class_415$class_417;<init>(Lnet/minecraft/class_415;Lnet/minecraft/class_1026;I)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeInventorySlot;<init>(Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;Lnet/minecraft/inventory/slot/Slot;I)V
-
-
Method Details
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector official aLyg;a(Lwn;Lzx;)Vintermediary method_3298Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Vnamed onTakeItemLnet/minecraft/inventory/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
canInsert
-
getStack
-
hasStack
public boolean hasStack() -
setStack
-
markDirty
public void markDirty() -
getMaxStackAmount
public int getMaxStackAmount()- Overrides:
getMaxStackAmountin classSlot- Mappings:
Namespace Name Mixin selector official aLyg;a()Iintermediary method_3291Lnet/minecraft/class_1026;method_3291()Inamed getMaxStackAmountLnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
-
getMaxStackAmount
- Overrides:
getMaxStackAmountin classSlot- Mappings:
Namespace Name Mixin selector official bLyg;b(Lzx;)Iintermediary method_11264Lnet/minecraft/class_1026;method_11264(Lnet/minecraft/class_1071;)Inamed getMaxStackAmountLnet/minecraft/inventory/slot/Slot;getMaxStackAmount(Lnet/minecraft/item/ItemStack;)I
-
getBackgroundSprite
- Overrides:
getBackgroundSpritein classSlot- Mappings:
Namespace Name Mixin selector official cLyg;c()Ljava/lang/String;intermediary method_11265Lnet/minecraft/class_1026;method_11265()Ljava/lang/String;named getBackgroundSpriteLnet/minecraft/inventory/slot/Slot;getBackgroundSprite()Ljava/lang/String;
-
takeStack
-
equals
-