public class NodeProcessorDrone
extends net.minecraft.pathfinding.FlyingNodeProcessor
| Constructor and Description |
|---|
NodeProcessorDrone() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNeighbors(net.minecraft.pathfinding.PathPoint[] pathOptions,
net.minecraft.pathfinding.PathPoint currentPoint)
Override this, because the super method adds diagonals, this is fancy but doesn't work well with drones (drones stuck behind a wall).
|
protected net.minecraft.pathfinding.PathPoint |
getNode(int x,
int y,
int z) |
done, getBlockPathType, getBlockPathType, getGoal, getStart, preparecheckNeighbourBlocks, evaluateBlockPathType, getBlockPathTypeRaw, getBlockPathTypes, getBlockPathTypeStatic, getFloorLevel@Nullable
protected net.minecraft.pathfinding.PathPoint getNode(int x,
int y,
int z)
getNode in class net.minecraft.pathfinding.FlyingNodeProcessorpublic int getNeighbors(net.minecraft.pathfinding.PathPoint[] pathOptions,
net.minecraft.pathfinding.PathPoint currentPoint)
getNeighbors in class net.minecraft.pathfinding.FlyingNodeProcessor