mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
parent
628f67eb36
commit
e1f0bf63c3
1 changed files with 11 additions and 7 deletions
|
@ -129,8 +129,10 @@ public class TileEntityWoodStand extends TileEntityImpl implements ITickable {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (EnumFacing facing : EnumFacing.VALUES) {
|
for (int x = -1; x <= 1; x++) {
|
||||||
BlockPos offset = pos.offset(facing);
|
for (int y = -1; y <= 1; y++) {
|
||||||
|
for (int z = -1; z <= 1; z++) {
|
||||||
|
BlockPos offset = pos.add(x, y, z);
|
||||||
IBlockState state = this.world.getBlockState(offset);
|
IBlockState state = this.world.getBlockState(offset);
|
||||||
if (state.getBlock() instanceof BlockLog || state.getBlock() instanceof BlockLeaves) {
|
if (state.getBlock() instanceof BlockLog || state.getBlock() instanceof BlockLeaves) {
|
||||||
this.world.setBlockToAir(offset);
|
this.world.setBlockToAir(offset);
|
||||||
|
@ -140,6 +142,8 @@ public class TileEntityWoodStand extends TileEntityImpl implements ITickable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isRitualOkay() {
|
private boolean isRitualOkay() {
|
||||||
if (!Multiblocks.TREE_RITUAL.isComplete(this.world, this.ritualPos)) {
|
if (!Multiblocks.TREE_RITUAL.isComplete(this.world, this.ritualPos)) {
|
||||||
|
|
Loading…
Reference in a new issue