Class PartTypePanelVariableDriven.State<P extends PartTypePanelVariableDriven<P,S>,S extends PartTypePanelVariableDriven.State<P,S>>
java.lang.Object
org.cyclops.integrateddynamics.core.part.PartStateBase<P>
org.cyclops.integrateddynamics.core.part.PartStateActiveVariableBase<P>
org.cyclops.integrateddynamics.core.part.panel.PartTypePanelVariableDriven.State<P,S>
- All Implemented Interfaces:
org.cyclops.cyclopscore.persist.IDirtyMarkListener,IPartState<P>
- Direct Known Subclasses:
PartTypePanelDisplay.State,PartTypePanelLightDynamic.State
- Enclosing class:
- PartTypePanelVariableDriven<P extends PartTypePanelVariableDriven<P,
S>, S extends PartTypePanelVariableDriven.State<P, S>>
public abstract static class PartTypePanelVariableDriven.State<P extends PartTypePanelVariableDriven<P,S>,S extends PartTypePanelVariableDriven.State<P,S>>
extends PartStateActiveVariableBase<P>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.part.PartStateActiveVariableBase
PartStateActiveVariableBase.SingularInventory, PartStateActiveVariableBase.Validator -
Field Summary
Fields inherited from class org.cyclops.integrateddynamics.core.part.PartStateActiveVariableBase
currentVariableFacadeFields inherited from interface org.cyclops.integrateddynamics.api.part.IPartState
GLOBALCOUNTER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadFromNBT(ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.CompoundTag tag) Read a state from NBT.voidwriteToNBT(net.minecraft.nbt.CompoundTag tag) Write a state to NBT.Methods inherited from class org.cyclops.integrateddynamics.core.part.PartStateActiveVariableBase
addGlobalError, getCapability, getGlobalErrors, getInventory, getVariable, hasVariable, onCorruptedState, onVariableContentsUpdated, validateMethods inherited from class org.cyclops.integrateddynamics.core.part.PartStateBase
addVolatileCapability, clearInventoriesNamed, forceBlockRenderUpdate, gatherCapabilities, generateId, getAspectProperties, getChannel, getDefaultUpdateInterval, getId, getInventoriesNamed, getInventoryNamed, getMaxOffset, getOffsetVariableError, getPriority, getTargetOffset, getTargetSideOverride, getUpdateInterval, initializeOffsets, isDirtyAndReset, isEnabled, isForceBlockRenderUpdateAndReset, isUpdateAndReset, markDirty, markOffsetVariablesChanged, onDirty, readAspectProperties, removeVolatileCapability, requiresOffsetUpdates, sendUpdate, setAspectProperties, setChannel, setEnabled, setInventoryNamed, setMaxOffset, setPriority, setTargetOffset, setTargetSideOverride, setUpdateInterval, updateOffsetVariables, writeAspectPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.integrateddynamics.api.part.IPartState
loadInventoryNamed, saveInventoryNamed
-
Constructor Details
-
State
public State()
-
-
Method Details
-
writeToNBT
public void writeToNBT(net.minecraft.nbt.CompoundTag tag) Description copied from interface:IPartStateWrite a state to NBT.- Specified by:
writeToNBTin interfaceIPartState<P extends PartTypePanelVariableDriven<P,S>> - Overrides:
writeToNBTin classPartStateActiveVariableBase<P extends PartTypePanelVariableDriven<P,S>> - Parameters:
tag- The tag to write to.
-
readFromNBT
public void readFromNBT(ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.CompoundTag tag) Description copied from interface:IPartStateRead a state from NBT.- Specified by:
readFromNBTin interfaceIPartState<P extends PartTypePanelVariableDriven<P,S>> - Overrides:
readFromNBTin classPartStateActiveVariableBase<P extends PartTypePanelVariableDriven<P,S>> - Parameters:
valueDeseralizationContext- Getter for blocks.tag- The tag to read from.
-