Package devs.beer.nativepackets.api
Interface EntityAccess
Direct entity access; lookup is explicitly thread-sensitive.
-
Method Summary
Modifier and TypeMethodDescriptionintallocateEntityId(Object world) bukkitEntity(Object nativeEntity) bukkitEntityType(Object nativeEntityType) bukkitPose(Object nativePose) entityByIdUnsafe(Object world, int entityId) Performs an explicitly thread-unsafe native entity lookup.nativeBoundingBox(Object bukkitEntity) nativeEntity(Object bukkitEntity) nativeEntityType(Object bukkitEntityType) nativePose(Object bukkitPose)
-
Method Details
-
nativeEntity
-
bukkitEntity
-
nativeBoundingBox
-
allocateEntityId
-
entityByIdUnsafe
Performs an explicitly thread-unsafe native entity lookup. Whenworldis null or does not contain the ID, implementations may scan all loaded worlds. -
nativePose
-
bukkitPose
-
nativeEntityType
-
bukkitEntityType
-