classpublicfinalPriority 1
TargetUtil
com.hypixel.hytale.server.core.util.TargetUtil
6
Methods
6
Public Methods
0
Fields
1
Constructors
Constants
floatENTITY_TARGET_RADIUS= 8.0F
Constructors
public
TargetUtil()Methods
Public Methods (6)
publicstatic
Transform getLook(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)@Nonnull
publicstatic
Vector3i getTargetBlock(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor)@Nullable
publicstatic
Ref<EntityStore> getTargetEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)@Nullable
publicstatic
Ref<EntityStore> getTargetEntity(Ref<EntityStore> ref, float radius, ComponentAccessor<EntityStore> componentAccessor)@Nullable
publicstatic
Vector3d getTargetLocation(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor)@Nullable
public
void updateChunk(int blockX, int blockZ)