Class TrinketsSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
com.idark.valoria.registries.menus.slots.TrinketsSlot
public class TrinketsSlot
extends net.minecraftforge.items.SlotItemHandler
-
Field Summary
Fields inherited from class net.minecraft.world.inventory.Slot
container, x, y
-
Constructor Summary
ConstructorDescriptionTrinketsSlot
(net.minecraftforge.items.IItemHandler itemHandler, int pSlot, int pXPosition, int pYPosition) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isTrinkets
(net.minecraft.world.item.ItemStack pStack) boolean
mayPlace
(net.minecraft.world.item.ItemStack pStack) Methods inherited from class net.minecraftforge.items.SlotItemHandler
getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPickup, onQuickCraft, remove, set
Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setByPlayer, setChanged, tryRemove
-
Constructor Details
-
TrinketsSlot
public TrinketsSlot(net.minecraftforge.items.IItemHandler itemHandler, int pSlot, int pXPosition, int pYPosition)
-
-
Method Details
-
mayPlace
public boolean mayPlace(net.minecraft.world.item.ItemStack pStack) - Overrides:
mayPlace
in classnet.minecraftforge.items.SlotItemHandler
-
isTrinkets
public static boolean isTrinkets(net.minecraft.world.item.ItemStack pStack)
-