Class WirelessCraftingGridGridFactory
java.lang.Object
com.refinedmods.refinedstorageaddons.apiimpl.network.grid.WirelessCraftingGridGridFactory
- All Implemented Interfaces:
com.refinedmods.refinedstorage.api.network.grid.IGridFactory
public class WirelessCraftingGridGridFactory
extends Object
implements com.refinedmods.refinedstorage.api.network.grid.IGridFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.refinedmods.refinedstorage.api.network.grid.IGrid
createFromBlock
(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) com.refinedmods.refinedstorage.api.network.grid.IGrid
createFromStack
(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, com.refinedmods.refinedstorage.inventory.player.PlayerSlot slot) net.minecraft.world.level.block.entity.BlockEntity
getRelevantBlockEntity
(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) com.refinedmods.refinedstorage.api.network.grid.GridFactoryType
getType()
-
Field Details
-
ID
public static final net.minecraft.resources.ResourceLocation ID
-
-
Constructor Details
-
WirelessCraftingGridGridFactory
public WirelessCraftingGridGridFactory()
-
-
Method Details
-
createFromStack
@Nullable public com.refinedmods.refinedstorage.api.network.grid.IGrid createFromStack(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, com.refinedmods.refinedstorage.inventory.player.PlayerSlot slot) - Specified by:
createFromStack
in interfacecom.refinedmods.refinedstorage.api.network.grid.IGridFactory
-
createFromBlock
@Nullable public com.refinedmods.refinedstorage.api.network.grid.IGrid createFromBlock(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) - Specified by:
createFromBlock
in interfacecom.refinedmods.refinedstorage.api.network.grid.IGridFactory
-
getRelevantBlockEntity
@Nullable public net.minecraft.world.level.block.entity.BlockEntity getRelevantBlockEntity(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) - Specified by:
getRelevantBlockEntity
in interfacecom.refinedmods.refinedstorage.api.network.grid.IGridFactory
-
getType
public com.refinedmods.refinedstorage.api.network.grid.GridFactoryType getType()- Specified by:
getType
in interfacecom.refinedmods.refinedstorage.api.network.grid.IGridFactory
-