@@ -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 z = (int) box.minZ; z <= box.maxZ; z++) {
|
||||||
for (int y = (int) box.minY; y <= box.maxY; y++) {
|
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 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