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.Vec3 |
getTarget()
Get the current target coordinates of the drone.
|
net.minecraft.util.Vec3 |
getVelocity()
Get the drones velocity vector.
|
void |
setTarget(net.minecraft.util.Vec3 value)
Set the new target coordinates of the drone.
|
equipmentInventory, mainInventory, name, ownerName, ownerUUID, player, selectedSlot, selectedTank, setName, setSelectedSlot, setSelectedTank, tank
componentSlot, internalComponents, machine, onMachineConnect, onMachineDisconnect
markChanged, world, xPosition, yPosition, zPosition
net.minecraft.util.Vec3 getTarget()
void setTarget(net.minecraft.util.Vec3 value)
net.minecraft.util.Vec3 getVelocity()
Entity
and use that
instead, if you'd like.