类 BrewingStandScreenHandler.PotionSlot

  • 封闭类:
    BrewingStandScreenHandler

    static class BrewingStandScreenHandler.PotionSlot
    extends Slot
    Mappings:
    Namespace Name
    official blq$c
    intermediary net/minecraft/class_1708$class_1711
    named net/minecraft/screen/BrewingStandScreenHandler$PotionSlot
    • 构造器详细资料

      • PotionSlot

        public PotionSlot​(Inventory inventory,
                          int index,
                          int x,
                          int y)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbnc;<init>(Laqz;III)V
        intermediary <init> Lnet/minecraft/class_1735;<init>(Lnet/minecraft/class_1263;III)V
        named <init> Lnet/minecraft/screen/slot/Slot;<init>(Lnet/minecraft/inventory/Inventory;III)V
    • 方法详细资料

      • canInsert

        public boolean canInsert​(ItemStack stack)
        覆盖:
        canInsert 在类中 Slot
        Mappings:
        Namespace Name Mixin selector
        official a Lbnc;a(Lbpr;)Z
        intermediary method_7680 Lnet/minecraft/class_1735;method_7680(Lnet/minecraft/class_1799;)Z
        named canInsert Lnet/minecraft/screen/slot/Slot;canInsert(Lnet/minecraft/item/ItemStack;)Z
      • getMaxItemCount

        public int getMaxItemCount()
        覆盖:
        getMaxItemCount 在类中 Slot
        Mappings:
        Namespace Name Mixin selector
        official a Lbnc;a()I
        intermediary method_7675 Lnet/minecraft/class_1735;method_7675()I
        named getMaxItemCount Lnet/minecraft/screen/slot/Slot;getMaxItemCount()I
      • onTakeItem

        public void onTakeItem​(PlayerEntity player,
                               ItemStack stack)
        覆盖:
        onTakeItem 在类中 Slot
        Mappings:
        Namespace Name Mixin selector
        official a Lbnc;a(Lbjf;Lbpr;)V
        intermediary method_7667 Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
        named onTakeItem Lnet/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;)Z
        intermediary method_7631 Lnet/minecraft/class_1708$class_1711;method_7631(Lnet/minecraft/class_1799;)Z
        named matches Lnet/minecraft/screen/BrewingStandScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z