Class RedstoneProgrammerMenu.FrequencySlotItemHandler
java.lang.Object
net.minecraft.world.inventory.Slot
net.neoforged.neoforge.items.SlotItemHandler
com.petrolpark.compat.create.common.redstone.programmer.RedstoneProgrammerMenu.FrequencySlotItemHandler
- All Implemented Interfaces:
IConditionalGhostSlot
- Enclosing class:
RedstoneProgrammerMenu
public class RedstoneProgrammerMenu.FrequencySlotItemHandler
extends net.neoforged.neoforge.items.SlotItemHandler
implements IConditionalGhostSlot
-
Field Summary
FieldsFields inherited from class net.neoforged.neoforge.items.SlotItemHandler
indexFields inherited from class net.minecraft.world.inventory.Slot
container, x, y -
Constructor Summary
ConstructorsConstructorDescriptionFrequencySlotItemHandler(int index, int xPosition, int yPosition, int channelIndex, boolean first) -
Method Summary
Methods inherited from class net.neoforged.neoforge.items.SlotItemHandler
getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPickup, mayPlace, onQuickCraft, removeMethods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
Field Details
-
channelIndex
public final int channelIndex -
first
public final boolean first
-
-
Constructor Details
-
FrequencySlotItemHandler
public FrequencySlotItemHandler(int index, int xPosition, int yPosition, int channelIndex, boolean first)
-
-
Method Details
-
set
public void set(@Nonnull net.minecraft.world.item.ItemStack stack) - Overrides:
setin classnet.neoforged.neoforge.items.SlotItemHandler
-
canSetGhostItem
public boolean canSetGhostItem()- Specified by:
canSetGhostItemin interfaceIConditionalGhostSlot
-