1 parent
707e730013
commit
31180a8e0d
1 file changed
+2
-2
@@ -50,9 +50,9 @@ public abstract class MoveItemsTaskMixin extends MultiTickTask<PathAwareEntity>
|
|||||||
if (!entity.getEquippedStack(EquipmentSlot.MAINHAND).isOf(Items.WHEAT_SEEDS)) {
|
if (!entity.getEquippedStack(EquipmentSlot.MAINHAND).isOf(Items.WHEAT_SEEDS)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (int x = (int) box.minX; x <= box.maxX; x++) {
|
|
||||||
for (int y = (int) box.minY; y <= box.maxY; y++) {
|
|
||||||
for (int z = (int) box.minZ; z <= box.maxZ; z++) {
|
for (int z = (int) box.minZ; z <= box.maxZ; z++) {
|
||||||
|
for (int y = (int) box.minY; y <= box.maxY; y++) {
|
||||||
|
for (int x = (int) box.minX; x <= box.maxX; x++) {
|
||||||
var pos = new BlockPos(x, y, z);
|
var pos = new BlockPos(x, y, z);
|
||||||
var blockState = world.getBlockState(pos);
|
var blockState = world.getBlockState(pos);
|
||||||
// if block is farmland
|
// if block is farmland
|
||||||
|
|||||||
Reference in new issue
Block a user