类 BrewingStandScreenHandler.PotionSlot
- java.lang.Object
-
- net.minecraft.screen.slot.Slot
-
- net.minecraft.screen.BrewingStandScreenHandler.PotionSlot
-
static class BrewingStandScreenHandler.PotionSlot extends Slot
- Mappings:
Namespace Name official blq$cintermediary net/minecraft/class_1708$class_1711named net/minecraft/screen/BrewingStandScreenHandler$PotionSlot
-
-
构造器概要
构造器 构造器 说明 PotionSlot(Inventory inventory, int index, int x, int y)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanInsert(ItemStack stack)intgetMaxItemCount()static booleanmatches(ItemStack stack)voidonTakeItem(PlayerEntity player, ItemStack stack)-
从类继承的方法 net.minecraft.screen.slot.Slot
canTakeItems, canTakePartial, doDrawHoveringEffect, getBackgroundSprite, getIndex, getMaxItemCount, getStack, hasStack, insertStack, insertStack, markDirty, onCrafted, onCrafted, onStackChanged, onTake, setStack, takeStack, takeStackRange, tryTakeStackRange
-
-
-
-
构造器详细资料
-
PotionSlot
public PotionSlot(Inventory inventory, int index, int x, int y)
- Mappings:
Namespace Name Mixin selector official <init>Lbnc;<init>(Laqz;III)Vintermediary <init>Lnet/minecraft/class_1735;<init>(Lnet/minecraft/class_1263;III)Vnamed <init>Lnet/minecraft/screen/slot/Slot;<init>(Lnet/minecraft/inventory/Inventory;III)V
-
-
方法详细资料
-
canInsert
public boolean canInsert(ItemStack stack)
-
getMaxItemCount
public int getMaxItemCount()
- 覆盖:
getMaxItemCount在类中Slot- Mappings:
Namespace Name Mixin selector official aLbnc;a()Iintermediary method_7675Lnet/minecraft/class_1735;method_7675()Inamed getMaxItemCountLnet/minecraft/screen/slot/Slot;getMaxItemCount()I
-
onTakeItem
public void onTakeItem(PlayerEntity player, ItemStack stack)
- 覆盖:
onTakeItem在类中Slot- Mappings:
Namespace Name Mixin selector official aLbnc;a(Lbjf;Lbpr;)Vintermediary method_7667Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed onTakeItemLnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
matches
public static boolean matches(ItemStack stack)
- Mappings:
Namespace Name Mixin selector official b_Lblq$c;b_(Lbpr;)Zintermediary method_7631Lnet/minecraft/class_1708$class_1711;method_7631(Lnet/minecraft/class_1799;)Znamed matchesLnet/minecraft/screen/BrewingStandScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z
-
-