Reorder golem search direction
build / build (push) Successful in 3m5s

This commit is contained in:
2025-11-06 16:42:18 +00:00
parent 707e730013
commit 31180a8e0d
@@ -50,9 +50,9 @@ public abstract class MoveItemsTaskMixin extends MultiTickTask<PathAwareEntity>
if (!entity.getEquippedStack(EquipmentSlot.MAINHAND).isOf(Items.WHEAT_SEEDS)) {
return;
}
for (int x = (int) box.minX; x <= box.maxX; x++) {
for (int z = (int) box.minZ; z <= box.maxZ; z++) {
for (int y = (int) box.minY; y <= box.maxY; y++) {
for (int z = (int) box.minZ; z <= box.maxZ; z++) {
for (int x = (int) box.minX; x <= box.maxX; x++) {
var pos = new BlockPos(x, y, z);
var blockState = world.getBlockState(pos);
// if block is farmland