classpublicPriority 3
EntityFilterInsideBlock
com.hypixel.hytale.server.npc.corecomponents.entity.filters.EntityFilterInsideBlock
extends EntityFilterBase
2
Methods
2
Public Methods
7
Fields
1
Constructors
Constants
ComponentType<ChunkStore, BlockChunk>BLOCK_CHUNK_COMPONENT_TYPE= BlockChunk.getComponentType()
ComponentType<EntityStore, BoundingBox>BOUNDING_BOX_COMPONENT_TYPE= BoundingBox.getComponentType()
intCOST= 400
ComponentType<EntityStore, TransformComponent>TRANSFORM_COMPONENT_TYPE= TransformComponent.getComponentType()
Constructors
public
EntityFilterInsideBlock(BuilderEntityFilterInsideBlock 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 (7)
protected
BlockChunk blockChunkprotected
int blockSetprotected
long chunkIndexprotected
BlockSection chunkSectionprotected
int chunkSectionIndexprotected
ChunkStore chunkStoreprotected
boolean matches