Basic usage
Get all minions
List<Minion> minions = AxMinionsAPI.getINSTANCE().getMinions();
for (Minion minion : minions) {
// Do something with the minions
}
val minions = AxMinionsAPI.INSTANCE.getMinions()
minions.forEach { minion ->
// Do something with the minions
}
Get blocks around a location in a sphere
LocationUtils.getAllBlocksInRadius(location, range, false).forEach(location -> {
// Do something with the location
});
LocationUtils.getAllBlocksInRadius(location, range, false).forEach { location ->
// Do something with the location
};
Last modified: 20 November 2024