java.lang.Object
com.blamejared.crafttweaker.annotation.processor.validation.virtual_type.validator.VirtualTypeValidator
All Implemented Interfaces:
IHasPostCreationCall

public class VirtualTypeValidator extends Object implements IHasPostCreationCall
  • Constructor Details

  • Method Details

    • validateAll

      public void validateAll(Collection<? extends Element> elements)
    • afterCreation

      public void afterCreation()
      Description copied from interface: IHasPostCreationCall
      The method called after the constructor of the type was invoked. At this time the instance will already be in the DI registry, so anything created by this can request an instance of this type.
      Specified by:
      afterCreation in interface IHasPostCreationCall
    • addRule

      public void addRule(Class<? extends VirtualTypeValidationRule> ruleClass)