public interface Drone extends Agent, EnvironmentHost, Rotatable, Tiered
if (entity instanceof Drone) {
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.math.vector.Vector3d |
getTarget()
Get the current target coordinates of the drone.
|
net.minecraft.util.math.vector.Vector3d |
getVelocity()
Get the drones velocity vector.
|
void |
setTarget(net.minecraft.util.math.vector.Vector3d value)
Set the new target coordinates of the drone.
|
equipmentInventory, mainInventory, name, ownerName, ownerUUID, player, selectedSlot, selectedTank, setName, setSelectedSlot, setSelectedTank, tank
componentSlot, internalComponents, machine, machinePosition, onMachineConnect, onMachineDisconnect
markChanged, world, xPosition, yPosition, zPosition
net.minecraft.util.math.vector.Vector3d getTarget()
void setTarget(net.minecraft.util.math.vector.Vector3d value)
net.minecraft.util.math.vector.Vector3d getVelocity()
Entity
and use that
instead, if you'd like.