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 Details

    • Validator

      public Validator(IPartStateWriter state, IAspectWrite aspect)
      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 interface IVariableFacade.IValidator
      Parameters:
      error - The error to set, or null to clear.