Klasse BackpackFilterSlot
java.lang.Object
net.minecraft.world.inventory.Slot
info.u_team.useful_backpacks.menu.slot.BackpackFilterSlot
public class BackpackFilterSlot
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
KonstruktorenKonstruktorBeschreibungBackpackFilterSlot(net.minecraft.world.Container inventory, int index, int xPosition, int yPosition) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcom.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation, net.minecraft.resources.ResourceLocation> booleanmayPlace(net.minecraft.world.item.ItemStack stack) Von Klasse geerbte Methoden net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, hasItem, isActive, 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
-
BackpackFilterSlot
public BackpackFilterSlot(net.minecraft.world.Container inventory, int index, int xPosition, int yPosition)
-
-
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
-