Package net.minecraft.inventory.slot
Class class_1005
java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.inventory.slot.class_1005
- Mappings:
Namespace Name official aikintermediary net/minecraft/class_1005named net/minecraft/inventory/slot/class_1005
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_1005(PlayerEntity playerEntity, Inventory inventory, int int2, int int3, int int4) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintstatic booleanmethod_6338(ItemStack itemStack) voidonTakeItem(PlayerEntity player, ItemStack stack) Methods inherited from class net.minecraft.inventory.slot.Slot
canTakeItems, doDrawHoveringEffect, equals, getBackgroundSprite, getMaxStackAmount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, setStack, takeStack
-
Field Details
-
field_4096
- Mappings:
Namespace Name Mixin selector official aLaik;a:Lahd;intermediary field_4096Lnet/minecraft/class_1005;field_4096:Lnet/minecraft/class_988;named field_4096Lnet/minecraft/inventory/slot/class_1005;field_4096:Lnet/minecraft/entity/player/PlayerEntity;
-
-
Constructor Details
-
class_1005
-
-
Method Details
-
canInsert
-
getMaxStackAmount
public int getMaxStackAmount()- Overrides:
getMaxStackAmountin classSlot- Mappings:
Namespace Name Mixin selector official aLajk;a()Iintermediary method_3291Lnet/minecraft/class_1026;method_3291()Inamed getMaxStackAmountLnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector official aLajk;a(Lahd;Lamj;)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
-
method_6338
- Mappings:
Namespace Name Mixin selector official b_Laik;b_(Lamj;)Zintermediary method_6338Lnet/minecraft/class_1005;method_6338(Lnet/minecraft/class_1071;)Znamed method_6338Lnet/minecraft/inventory/slot/class_1005;method_6338(Lnet/minecraft/item/ItemStack;)Z
-