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

    Fields
    Modifier and Type
    Field
    Description
    final int
     
    final boolean
     

    Fields inherited from class net.neoforged.neoforge.items.SlotItemHandler

    index

    Fields inherited from class net.minecraft.world.inventory.Slot

    container, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
    FrequencySlotItemHandler(int index, int xPosition, int yPosition, int channelIndex, boolean first)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    set(net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class net.neoforged.neoforge.items.SlotItemHandler

    getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPickup, mayPlace, onQuickCraft, remove

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      set in class net.neoforged.neoforge.items.SlotItemHandler
    • canSetGhostItem

      public boolean canSetGhostItem()
      Specified by:
      canSetGhostItem in interface IConditionalGhostSlot