Class DroneClaimManager
java.lang.Object
me.desht.pneumaticcraft.common.ai.DroneClaimManager
Keeps track of the positions the drones are working on, and allows the drones to pick a coordinate in a smart way.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DroneClaimManagergetInstance(net.minecraft.world.level.Level world) voidtick()unclaim any positions that have been claimed too long.
-
Constructor Details
-
DroneClaimManager
public DroneClaimManager()
-
-
Method Details
-
getInstance
-
tick
public void tick()unclaim any positions that have been claimed too long. this prevents positions being claimed forever by died drones.
-