GameEntity represents an in-game entity (such as mobs, animals, or projectiles) loaded into the current Minecraft world.
X
number
Y
Z
EntityID
integer
local target = Game.World.getTargetEntity() if target then Core.Debug.message("Target entity ID: " .. tostring(target.EntityID)) Core.Debug.message(string.format("Position: %.2f, %.2f, %.2f", target.X, target.Y, target.Z)) end
There was an error while loading. Please reload this page.