Class SyncedGuiVariable<T>

java.lang.Object
org.cyclops.cyclopscore.inventory.container.SyncedGuiVariable<T>
Type Parameters:
T - The type of value.
All Implemented Interfaces:
Supplier<T>

public class SyncedGuiVariable<T> extends Object implements Supplier<T>
A convenience datastructure that offers direct synchronization of values between server and client inside GUIs.
  • Method Details

    • detectAndSendChanges

      public void detectAndSendChanges()
    • get

      public T get()
      Specified by:
      get in interface Supplier<T>