Klasse FilterSlot

java.lang.Object
net.minecraft.world.inventory.Slot
info.u_team.useful_backpacks.menu.slot.FilterSlot

public class FilterSlot extends net.minecraft.world.inventory.Slot
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final net.minecraft.resources.ResourceLocation
     

    Von Klasse geerbte Felder net.minecraft.world.inventory.Slot

    container, index, x, y
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    FilterSlot(net.minecraft.world.Container backpackSlotInventory, net.minecraft.world.Container container, int index, int x, int y)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,net.minecraft.resources.ResourceLocation>
     
    boolean
     
    boolean
    mayPlace(net.minecraft.world.item.ItemStack stack)
     

    Von Klasse geerbte Methoden net.minecraft.world.inventory.Slot

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

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • BACKGROUND

      public static final net.minecraft.resources.ResourceLocation BACKGROUND
  • Konstruktordetails

    • FilterSlot

      public FilterSlot(net.minecraft.world.Container backpackSlotInventory, net.minecraft.world.Container container, int index, int x, int y)
  • Methodendetails

    • getNoItemIcon

      public com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,net.minecraft.resources.ResourceLocation> getNoItemIcon()
      Setzt außer Kraft:
      getNoItemIcon in Klasse net.minecraft.world.inventory.Slot
    • mayPlace

      public boolean mayPlace(net.minecraft.world.item.ItemStack stack)
      Setzt außer Kraft:
      mayPlace in Klasse net.minecraft.world.inventory.Slot
    • isActive

      public boolean isActive()
      Setzt außer Kraft:
      isActive in Klasse net.minecraft.world.inventory.Slot