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 clh$cintermediary 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()voidmethod_3298(PlayerEntity playerEntity, ItemStack itemStack) voidtakeStack(int amount) Methods inherited from class net.minecraft.inventory.slot.Slot
method_13644, onCrafted, onCrafted, onStackChanged
-
Field Details
-
slot
- Mappings:
Namespace Name Mixin selector official bLclh$c;b:Laqx;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>Lclh$c;<init>(Lclh;Laqx;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
-
method_3298
- Overrides:
method_3298in classSlot- Mappings:
Namespace Name Mixin selector official aLaqx;a(Laog;Late;)Late;intermediary method_3298Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;named method_3298Lnet/minecraft/inventory/slot/Slot;method_3298(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
canInsert
-
getStack
-
hasStack
public boolean hasStack() -
setStack
-
markDirty
public void markDirty() -
getMaxStackAmount
public int getMaxStackAmount()- Overrides:
getMaxStackAmountin classSlot- Mappings:
Namespace Name Mixin selector official aLaqx;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 bLaqx;b(Late;)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 cLaqx;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 bLaqx;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 aLaqx;a(Laog;)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
-