Class IronFurnacesFurnaceHandler
java.lang.Object
com.hammy275.immersivemc.common.immersive.handler.ContainerHandler<ListOfItemsStorage>
com.hammy275.immersivemc.common.immersive.handler.FurnaceHandler
com.hammy275.immersivemc.common.immersive.handler.IronFurnacesFurnaceHandler
- All Implemented Interfaces:
ImmersiveHandler<ListOfItemsStorage>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
getID()
boolean
isValidBlock
(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) Methods inherited from class com.hammy275.immersivemc.common.immersive.handler.FurnaceHandler
enabledInConfig, getEmptyNetworkStorage, makeInventoryContents, swap
Methods inherited from class com.hammy275.immersivemc.common.immersive.handler.ContainerHandler
clientAuthoritative, isDirtyForClientSync
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hammy275.immersivemc.api.common.immersive.ImmersiveHandler
onStopTracking
-
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 interfaceImmersiveHandler<ListOfItemsStorage>
- Overrides:
isValidBlock
in classFurnaceHandler
- 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 interfaceImmersiveHandler<ListOfItemsStorage>
- Overrides:
getID
in classFurnaceHandler
- Returns:
- A unique ID to identify this handler. The same value should always be returned by this method.
-