package com.hypixel.hytale.component.query; import com.hypixel.hytale.component.Archetype; import com.hypixel.hytale.component.ComponentRegistry; import com.hypixel.hytale.component.ComponentType; class AnyQuery implements Query { static final AnyQuery INSTANCE = new AnyQuery(); @Override public boolean test(Archetype archetype) { return true; } @Override public boolean requiresComponentType(ComponentType componentType) { return false; } @Override public void validateRegistry(ComponentRegistry registry) { } @Override public void validate() { } }