Class PartStateActiveVariableBase.Validator
java.lang.Object
org.cyclops.integrateddynamics.core.part.PartStateActiveVariableBase.Validator
- All Implemented Interfaces:
IVariableFacade.IValidator
- Enclosing class:
PartStateActiveVariableBase<P extends IPartType>
public static class PartStateActiveVariableBase.Validator
extends Object
implements IVariableFacade.IValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addError
(net.minecraft.network.chat.MutableComponent error) Set the current error for the given aspect.
-
Constructor Details
-
Validator
Make a new instance- Parameters:
state
- The part state.
-
-
Method Details
-
addError
public void addError(net.minecraft.network.chat.MutableComponent error) Description copied from interface:IVariableFacade.IValidator
Set the current error for the given aspect.- Specified by:
addError
in interfaceIVariableFacade.IValidator
- Parameters:
error
- The error to set, or null to clear.
-