Package net.minecraft.container.slot
Class Slot
java.lang.Object
net.minecraft.container.slot.Slot
- Direct Known Subclasses:
CraftingResult,FurnaceOutput
- Mappings:
Namespace Name intermediary net/minecraft/class_133glue class_170server elclient gpnamed net/minecraft/container/slot/Slot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInsert(ItemInstance stack) booleanequals(InventoryBase inventory, int invSlot) getItem()intbooleanhasItem()voidintvoidonCrafted(ItemInstance stack) voidsetStack(ItemInstance stack) takeItem(int count)
-
Field Details
-
invSlot
private final int invSlot- Mappings:
Namespace Name Mixin selector intermediary field_502Lnet/minecraft/class_133;field_502:Iglue field_713Lclass_170;field_713:Iserver dLel;d:Iclient dLgp;d:Inamed invSlotLnet/minecraft/container/slot/Slot;invSlot:I
-
inventory
- Mappings:
Namespace Name Mixin selector intermediary field_503Lnet/minecraft/class_133;field_503:Lnet/minecraft/class_134;glue field_714Lclass_170;field_714:Lclass_287;server eLel;e:Lhp;client eLgp;e:Llw;named inventoryLnet/minecraft/container/slot/Slot;inventory:Lnet/minecraft/inventory/InventoryBase;
-
id
public int id- Mappings:
Namespace Name Mixin selector intermediary field_499Lnet/minecraft/class_133;field_499:Iglue field_710Lclass_170;field_710:Iserver aLel;a:Iclient aLgp;a:Inamed idLnet/minecraft/container/slot/Slot;id:I
-
x
public int x- Mappings:
Namespace Name Mixin selector intermediary field_500Lnet/minecraft/class_133;field_500:Iglue field_711Lclass_170;field_711:Iserver bLel;b:Iclient bLgp;b:Inamed xLnet/minecraft/container/slot/Slot;x:I
-
y
public int y- Mappings:
Namespace Name Mixin selector intermediary field_501Lnet/minecraft/class_133;field_501:Iglue field_712Lclass_170;field_712:Iserver cLel;c:Iclient cLgp;c:Inamed yLnet/minecraft/container/slot/Slot;y:I
-
-
Constructor Details
-
Slot
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_133;<init>(Lnet/minecraft/class_134;III)Vglue <init>Lclass_170;<init>(Lclass_287;III)Vserver <init>Lel;<init>(Lhp;III)Vclient <init>Lgp;<init>(Llw;III)Vnamed <init>Lnet/minecraft/container/slot/Slot;<init>(Lnet/minecraft/inventory/InventoryBase;III)V
-
-
Method Details
-
onCrafted
- Mappings:
Namespace Name Mixin selector intermediary method_474Lnet/minecraft/class_133;method_474(Lnet/minecraft/class_31;)Vglue method_810Lclass_170;method_810(Lclass_224;)Vserver aLel;a(Lfy;)Vclient aLgp;a(Liz;)Vnamed onCraftedLnet/minecraft/container/slot/Slot;onCrafted(Lnet/minecraft/item/ItemInstance;)V
-
canInsert
- Mappings:
Namespace Name Mixin selector intermediary method_477Lnet/minecraft/class_133;method_477(Lnet/minecraft/class_31;)Zglue method_813Lclass_170;method_813(Lclass_224;)Zserver bLel;b(Lfy;)Zclient bLgp;b(Liz;)Znamed canInsertLnet/minecraft/container/slot/Slot;canInsert(Lnet/minecraft/item/ItemInstance;)Z
-
getItem
- Mappings:
Namespace Name Mixin selector intermediary method_472Lnet/minecraft/class_133;method_472()Lnet/minecraft/class_31;glue method_808Lclass_170;method_808()Lclass_224;server aLel;a()Lfy;client aLgp;a()Liz;named getItemLnet/minecraft/container/slot/Slot;getItem()Lnet/minecraft/item/ItemInstance;
-
hasItem
public boolean hasItem()- Mappings:
Namespace Name Mixin selector intermediary method_476Lnet/minecraft/class_133;method_476()Zglue method_812Lclass_170;method_812()Zserver bLel;b()Zclient bLgp;b()Znamed hasItemLnet/minecraft/container/slot/Slot;hasItem()Z
-
setStack
- Mappings:
Namespace Name Mixin selector intermediary method_479Lnet/minecraft/class_133;method_479(Lnet/minecraft/class_31;)Vglue method_815Lclass_170;method_815(Lclass_224;)Vserver cLel;c(Lfy;)Vclient cLgp;c(Liz;)Vnamed setStackLnet/minecraft/container/slot/Slot;setStack(Lnet/minecraft/item/ItemInstance;)V
-
markDirty
public void markDirty()- Mappings:
Namespace Name Mixin selector intermediary method_478Lnet/minecraft/class_133;method_478()Vglue method_814Lclass_170;method_814()Vserver cLel;c()Vclient cLgp;c()Vnamed markDirtyLnet/minecraft/container/slot/Slot;markDirty()V
-
getMaxStackCount
public int getMaxStackCount()- Mappings:
Namespace Name Mixin selector intermediary method_480Lnet/minecraft/class_133;method_480()Iglue method_816Lclass_170;method_816()Iserver dLel;d()Iclient dLgp;d()Inamed getMaxStackCountLnet/minecraft/container/slot/Slot;getMaxStackCount()I
-
method_471
- Mappings:
Namespace Name Mixin selector intermediary method_471Lnet/minecraft/class_133;method_471()Iglue method_1156Lclass_170;method_1156()Iserver method_471Lel;method_471()Iclient eLgp;e()Inamed method_471Lnet/minecraft/container/slot/Slot;method_471()I
-
takeItem
- Mappings:
Namespace Name Mixin selector intermediary method_473Lnet/minecraft/class_133;method_473(I)Lnet/minecraft/class_31;glue method_809Lclass_170;method_809(I)Lclass_224;server aLel;a(I)Lfy;client aLgp;a(I)Liz;named takeItemLnet/minecraft/container/slot/Slot;takeItem(I)Lnet/minecraft/item/ItemInstance;
-
equals
- Mappings:
Namespace Name Mixin selector intermediary method_475Lnet/minecraft/class_133;method_475(Lnet/minecraft/class_134;I)Zglue method_811Lclass_170;method_811(Lclass_287;I)Zserver aLel;a(Lhp;I)Zclient method_475Lgp;method_475(Llw;I)Znamed equalsLnet/minecraft/container/slot/Slot;equals(Lnet/minecraft/inventory/InventoryBase;I)Z
-