Interface StorageBlockProvider

All Known Implementing Classes:
FluidStorageBlockProvider, ItemStorageBlockProvider

@API(status=STABLE, since="2.0.0-milestone.4.11") public interface StorageBlockProvider
  • Method Details

    • createStorage

      SerializableStorage createStorage(Runnable listener)
    • getDisplayName

      net.minecraft.network.chat.Component getDisplayName()
    • getEnergyUsage

      long getEnergyUsage()
    • getResourceFactory

      ResourceFactory getResourceFactory()
    • getBlockEntityType

      net.minecraft.world.level.block.entity.BlockEntityType<?> getBlockEntityType()
    • getMenuType

      net.minecraft.world.inventory.MenuType<?> getMenuType()