Class VirtualTypeValidator
java.lang.Object
com.blamejared.crafttweaker.annotation.processor.validation.virtual_type.validator.VirtualTypeValidator
- All Implemented Interfaces:
IHasPostCreationCall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRule(Class<? extends VirtualTypeValidationRule> ruleClass) voidThe method called after the constructor of the type was invoked.voidvalidateAll(Collection<? extends Element> elements)
-
Constructor Details
-
VirtualTypeValidator
-
-
Method Details
-
validateAll
-
afterCreation
public void afterCreation()Description copied from interface:IHasPostCreationCallThe 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:
afterCreationin interfaceIHasPostCreationCall
-
addRule
-