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 bga$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 TypeMethodDescriptionbooleanbooleancanTakeItems(PlayerEntity playerEntity) booleanbooleanintintgetMaxStackAmount(ItemStack stack) getStack()booleanhasStack()voidvoidonStackChanged(ItemStack originalItem, ItemStack newItem) voidonTakeItem(PlayerEntity player, ItemStack stack) voidtakeStack(int amount)
-
Field Details
-
slot
- Mappings:
Namespace Name Mixin selector official bLbga$b;b:Labt;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>Lbga$b;<init>(Lbga;Labt;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 aLabt;a(Lzj;Ladq;)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 aLabt;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 bLabt;b(Ladq;)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 cLabt;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
-
doDrawHoveringEffect
public boolean doDrawHoveringEffect()- Overrides:
doDrawHoveringEffectin classSlot- Mappings:
Namespace Name Mixin selector official bLabt;b()Zintermediary method_6319Lnet/minecraft/class_1026;method_6319()Znamed doDrawHoveringEffectLnet/minecraft/inventory/slot/Slot;doDrawHoveringEffect()Z
-
canTakeItems
- Overrides:
canTakeItemsin classSlot- Mappings:
Namespace Name Mixin selector official aLabt;a(Lzj;)Zintermediary method_4597Lnet/minecraft/class_1026;method_4597(Lnet/minecraft/class_988;)Znamed canTakeItemsLnet/minecraft/inventory/slot/Slot;canTakeItems(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onStackChanged
- Overrides:
onStackChangedin classSlot- Mappings:
Namespace Name Mixin selector official aLabt;a(Ladq;Ladq;)Vintermediary method_3296Lnet/minecraft/class_1026;method_3296(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Vnamed onStackChangedLnet/minecraft/inventory/slot/Slot;onStackChanged(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
-