Class PartStateWriterBase.Validator
java.lang.Object
org.cyclops.integrateddynamics.core.part.write.PartStateWriterBase.Validator
- All Implemented Interfaces:
IVariableFacade.IValidator
- Enclosing class:
PartStateWriterBase<P extends IPartTypeWriter>
public static class PartStateWriterBase.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.aspect
- The aspect to set the error for.
-
-
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.
-