classpublicPriority 3
RayBlockHitTest
com.hypixel.hytale.server.npc.util.RayBlockHitTest
implements BlockIterator.BlockIteratorProcedure
6
Methods
6
Public Methods
4
Fields
1
Constructors
Constants
ThreadLocal<RayBlockHitTest>THREAD_LOCAL= ThreadLocal.withInitial(RayBlockHitTest::new)
Constructors
public
RayBlockHitTest()Methods
Public Methods (6)
public
boolean accept(int x, int y, int z, double px, double py, double pz, double qx, double qy, double qz)@Override
public
void clear()public
Vector3d getHitPosition()@Nonnull
public
short getLastBlockRevision()public
boolean init(Ref<EntityStore> ref, int blockSet, float pitch, ComponentAccessor<EntityStore> componentAccessor)public
boolean run(double range)Fields
Private/Package Fields (4)
private
int blockSetprivate
WorldChunk chunkprivate
short lastBlockRevisionprivate
World world