Class DiskDriveContainerMenu

All Implemented Interfaces:
StorageAccessor

public class DiskDriveContainerMenu extends AbstractStorageContainerMenu implements StorageAccessor
  • Constructor Details

    • DiskDriveContainerMenu

      public DiskDriveContainerMenu(int syncId, net.minecraft.world.entity.player.Inventory playerInventory, ResourceContainerData resourceContainerData)
  • Method Details

    • hasCapacity

      public boolean hasCapacity()
      Specified by:
      hasCapacity in interface StorageAccessor
    • getProgress

      public double getProgress()
      Specified by:
      getProgress in interface StorageAccessor
    • getCapacity

      public long getCapacity()
      Specified by:
      getCapacity in interface StorageAccessor
    • getStored

      public long getStored()
      Specified by:
      getStored in interface StorageAccessor
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player player)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu