Class IronFurnacesFurnaceHandler

All Implemented Interfaces:
ImmersiveHandler<ListOfItemsStorage>

public class IronFurnacesFurnaceHandler extends FurnaceHandler
  • Constructor Details

    • IronFurnacesFurnaceHandler

      public IronFurnacesFurnaceHandler()
  • Method Details

    • isValidBlock

      public boolean isValidBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level)
      Specified by:
      isValidBlock in interface ImmersiveHandler<ListOfItemsStorage>
      Overrides:
      isValidBlock in class FurnaceHandler
      Parameters:
      pos - Position to check.
      level - The level being checked in.
      Returns:
      Whether the supplied block matches what this handler handles.
    • getID

      public net.minecraft.resources.ResourceLocation getID()
      Specified by:
      getID in interface ImmersiveHandler<ListOfItemsStorage>
      Overrides:
      getID in class FurnaceHandler
      Returns:
      A unique ID to identify this handler. The same value should always be returned by this method.