java.lang.Object
net.minecraft.world.inventory.DataSlot
com.refinedmods.refinedstorage.common.support.containermenu.ServerProperty<T>
All Implemented Interfaces:
Property<T>

public class ServerProperty<T> extends net.minecraft.world.inventory.DataSlot implements Property<T>
  • Constructor Details

  • Method Details

    • getType

      public PropertyType<T> getType()
      Specified by:
      getType in interface Property<T>
    • getValue

      public T getValue()
      Specified by:
      getValue in interface Property<T>
    • getDataSlot

      public net.minecraft.world.inventory.DataSlot getDataSlot()
      Specified by:
      getDataSlot in interface Property<T>
    • get

      public int get()
      Specified by:
      get in class net.minecraft.world.inventory.DataSlot
    • set

      public void set(int newValue)
      Specified by:
      set in class net.minecraft.world.inventory.DataSlot