classpublicPriority 3
EntityFilterHeightDifference
com.hypixel.hytale.server.npc.corecomponents.entity.filters.EntityFilterHeightDifference
extends EntityFilterBase
2
Methods
2
Public Methods
3
Fields
1
Constructors
Constants
ComponentType<EntityStore, BoundingBox>BOUNDING_BOX_COMPONENT_TYPE= BoundingBox.getComponentType()
intCOST= 200
ComponentType<EntityStore, ModelComponent>MODEL_COMPONENT_TYPE= ModelComponent.getComponentType()
ComponentType<EntityStore, TransformComponent>TRANSFORM_COMPONENT_TYPE= TransformComponent.getComponentType()
Constructors
public
EntityFilterHeightDifference(BuilderEntityFilterHeightDifference builder, BuilderSupport support)Methods
Public Methods (2)
public
int cost()@Override
public
boolean matchesEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, Role role, Store<EntityStore> store)@Override
Fields
Protected Fields (3)
protected
double maxHeightDifferenceprotected
double minHeightDifferenceprotected
boolean useEyePosition