Contents
Class NotQuery<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.query.NotQuery<ECS_TYPE>
- Type Parameters:
ECS_TYPE- The type of the ECS.
- All Implemented Interfaces:
Query<ECS_TYPE>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanrequiresComponentType(ComponentType<ECS_TYPE, ?> componentType) Controls if a query requires a component and so if used by a system it should be automatically unregistered if a component type is removed.booleanControls if this query should process the providedArchetype.voidvalidate()Validates the internal state of this query.voidvalidateRegistry(ComponentRegistry<ECS_TYPE> registry) Validates that the providedComponentRegistryis compatible with this query.
-
Constructor Details
-
NotQuery
-
-
Method Details
-
test
-
requiresComponentType
Description copied from interface:QueryControls if a query requires a component and so if used by a system it should be automatically unregistered if a component type is removed.- Specified by:
requiresComponentTypein interfaceQuery<ECS_TYPE>- Returns:
trueif thecomponentTypeis required.
-
validateRegistry
Description copied from interface:QueryValidates that the providedComponentRegistryis compatible with this query.- Specified by:
validateRegistryin interfaceQuery<ECS_TYPE>- Parameters:
registry- The component registry to validate against.
-
validate
-