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

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

    • ClientProperty

      public ClientProperty(PropertyType<T> type, T value)
  • 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>
    • setValue

      public void setValue(T newValue)
    • 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
    • onChangedOnClient

      protected void onChangedOnClient(T newValue)