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
FelderModifizierer und TypFeldBeschreibungstatic final net.minecraft.resources.ResourceLocationVon Klasse geerbte Felder net.minecraft.world.inventory.Slot
container, index, x, y -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungFilterSlot(net.minecraft.world.Container backpackSlotInventory, net.minecraft.world.Container container, int index, int x, int y) -
Methodenübersicht
Von Klasse geerbte Methoden net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, hasItem, isFake, isHighlightable, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setByPlayer, setByPlayer, setChanged, tryRemove
-
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:
getNoItemIconin Klassenet.minecraft.world.inventory.Slot
-
mayPlace
public boolean mayPlace(net.minecraft.world.item.ItemStack stack) - Setzt außer Kraft:
mayPlacein Klassenet.minecraft.world.inventory.Slot
-
isActive
public boolean isActive()- Setzt außer Kraft:
isActivein Klassenet.minecraft.world.inventory.Slot
-