Class GridBlockEntity

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.grid.GridNetworkNode>
com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.grid.GridNetworkNode>
com.refinedmods.refinedstorage.common.grid.AbstractGridBlockEntity
com.refinedmods.refinedstorage.common.grid.GridBlockEntity
All Implemented Interfaces:
PreviewProvider, ConfigurationCardTarget, Grid, NetworkItemTargetBlockEntity, ExtendedMenuProvider<GridData>, NetworkNodeExtendedMenuProvider<GridData>, NetworkNodeMenuProvider, PlayerAwareBlockEntity, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, net.minecraft.world.Nameable

public class GridBlockEntity extends AbstractGridBlockEntity implements NetworkNodeExtendedMenuProvider<GridData>
  • Constructor Details

    • GridBlockEntity

      public GridBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • getMenuData

      public GridData getMenuData()
      Specified by:
      getMenuData in interface ExtendedMenuProvider<GridData>
    • getMenuCodec

      public net.minecraft.network.codec.StreamEncoder<net.minecraft.network.RegistryFriendlyByteBuf,GridData> getMenuCodec()
      Specified by:
      getMenuCodec in interface ExtendedMenuProvider<GridData>
    • getName

      public net.minecraft.network.chat.Component getName()
      Specified by:
      getName in interface net.minecraft.world.Nameable
    • createMenu

      @Nullable public AbstractGridContainerMenu createMenu(int syncId, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.world.entity.player.Player player)
      Specified by:
      createMenu in interface net.minecraft.world.inventory.MenuConstructor