Class GameTestsAspectVariables.CapturingValueNotifier

java.lang.Object
org.cyclops.integrateddynamics.gametest.GameTestsAspectVariables.CapturingValueNotifier
All Implemented Interfaces:
org.cyclops.cyclopscore.inventory.IValueNotifier
Enclosing class:
GameTestsAspectVariables

protected static class GameTestsAspectVariables.CapturingValueNotifier extends Object implements org.cyclops.cyclopscore.inventory.IValueNotifier
A minimal value notifier that captures values in-memory, so that the server-to-client value syncing can be verified without a network connection.
  • Constructor Details

    • CapturingValueNotifier

      public CapturingValueNotifier(net.minecraft.core.HolderLookup.Provider holderLookupProvider)
  • Method Details

    • setValue

      public void setValue(int id, net.minecraft.nbt.CompoundTag value)
      Specified by:
      setValue in interface org.cyclops.cyclopscore.inventory.IValueNotifier
    • getValueIds

      public Set<Integer> getValueIds()
      Specified by:
      getValueIds in interface org.cyclops.cyclopscore.inventory.IValueNotifier
    • getValue

      public net.minecraft.nbt.CompoundTag getValue(int id)
      Specified by:
      getValue in interface org.cyclops.cyclopscore.inventory.IValueNotifier
    • getHolderLookupProvider

      public net.minecraft.core.HolderLookup.Provider getHolderLookupProvider()
      Specified by:
      getHolderLookupProvider in interface org.cyclops.cyclopscore.inventory.IValueNotifier