Package com.beansgalaxy.backpacks.screen
Class InSlot
java.lang.Object
net.minecraft.world.inventory.Slot
com.beansgalaxy.backpacks.screen.InSlot
public class InSlot
extends net.minecraft.world.inventory.Slot
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BackDatastatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationFields inherited from class net.minecraft.world.inventory.Slot
container, index, x, y -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getMaxStackSize, getMaxStackSize, getSlotIndex, hasItem, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setChanged, tryRemove
-
Field Details
-
BACKPACK_ATLAS
public static final net.minecraft.resources.ResourceLocation BACKPACK_ATLAS -
INPUT
public static final net.minecraft.resources.ResourceLocation INPUT -
INPUT_ALT
public static final net.minecraft.resources.ResourceLocation INPUT_ALT -
backData
-
-
Constructor Details
-
InSlot
-
-
Method Details
-
getNoItemIcon
public com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,net.minecraft.resources.ResourceLocation> getNoItemIcon()- Overrides:
getNoItemIconin classnet.minecraft.world.inventory.Slot
-
isActive
public boolean isActive()- Overrides:
isActivein classnet.minecraft.world.inventory.Slot
-
getItem
public net.minecraft.world.item.ItemStack getItem()- Overrides:
getItemin classnet.minecraft.world.inventory.Slot
-
mayPlace
public boolean mayPlace(net.minecraft.world.item.ItemStack stack) - Overrides:
mayPlacein classnet.minecraft.world.inventory.Slot
-