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
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.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 interface com.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 interface com.refinedmods.refinedstorage.api.network.grid.IGridFactory
    • getType

      public com.refinedmods.refinedstorage.api.network.grid.GridFactoryType getType()
      Specified by:
      getType in interface com.refinedmods.refinedstorage.api.network.grid.IGridFactory