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 Summary
ConstructorsConstructorDescriptionCapturingValueNotifier(net.minecraft.core.HolderLookup.Provider holderLookupProvider) -
Method Summary
-
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:
setValuein interfaceorg.cyclops.cyclopscore.inventory.IValueNotifier
-
getValueIds
-
getValue
public net.minecraft.nbt.CompoundTag getValue(int id) - Specified by:
getValuein interfaceorg.cyclops.cyclopscore.inventory.IValueNotifier
-
getHolderLookupProvider
public net.minecraft.core.HolderLookup.Provider getHolderLookupProvider()- Specified by:
getHolderLookupProviderin interfaceorg.cyclops.cyclopscore.inventory.IValueNotifier
-