public interface Drone extends Agent, EnvironmentHost, Rotatable, Tiered
if (entity instanceof Drone) {
The only purpose is to allow identifying entities as drones via the API,
i.e. without having to link against internal classes. This also means
that you should not implement this.| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.Vec3d |
getTarget()
Get the current target coordinates of the drone.
|
net.minecraft.util.math.Vec3d |
getVelocity()
Get the drones velocity vector.
|
void |
setTarget(net.minecraft.util.math.Vec3d value)
Set the new target coordinates of the drone.
|
equipmentInventory, mainInventory, name, ownerName, ownerUUID, player, selectedSlot, selectedTank, setName, setSelectedSlot, setSelectedTank, tankcomponentSlot, internalComponents, machine, onMachineConnect, onMachineDisconnectmarkChanged, world, xPosition, yPosition, zPositionnet.minecraft.util.math.Vec3d getTarget()
void setTarget(net.minecraft.util.math.Vec3d value)
net.minecraft.util.math.Vec3d getVelocity()
Entity and use that
instead, if you'd like.