类 BlackListSlot

java.lang.Object
net.minecraft.world.inventory.Slot
committee.nova.mods.avaritia.api.common.slot.BlackListSlot

public class BlackListSlot extends net.minecraft.world.inventory.Slot
  • 字段概要

    从类继承的字段 net.minecraft.world.inventory.Slot

    container, index, x, y
  • 构造器概要

    构造器
    构造器
    说明
    BlackListSlot(net.minecraft.world.Container pContainer, int pSlot, int pX, int pY, net.minecraft.world.item.ItemStack item)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    mayPickup(@NotNull net.minecraft.world.entity.player.Player pPlayer)
     
    boolean
    mayPlace(@NotNull net.minecraft.world.item.ItemStack stack)
     

    从类继承的方法 net.minecraft.world.inventory.Slot

    allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setChanged, tryRemove

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • BlackListSlot

      public BlackListSlot(net.minecraft.world.Container pContainer, int pSlot, int pX, int pY, net.minecraft.world.item.ItemStack item)
  • 方法详细资料

    • mayPickup

      public boolean mayPickup(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer)
      覆盖:
      mayPickup 在类中 net.minecraft.world.inventory.Slot
    • mayPlace

      public boolean mayPlace(@NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      覆盖:
      mayPlace 在类中 net.minecraft.world.inventory.Slot