Add New azazelthedemonlord Textures
EnergonRelics/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-07-24 18:23:09 -04:00
parent ae32d77f23
commit a5bad4c9cb
10 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ public class ForcefieldProjectorBlockEntity extends EnergyReceiverBlockEntity {
BlockState targetState = getWorld().getBlockState(targetPos);
if (targetState.isAir()) {
getWorld().setBlockState(targetPos, state);
} else if (targetState.getBlock() != EnergonRelics.FORCEFIELD_BLOCK) {
} else if (targetState != state) {
break;
}
}

View File

@ -102,7 +102,7 @@ public class ForcefieldBlock extends SimpleBlock {
@Override
@Environment(EnvType.CLIENT)
public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) {
return stateFrom.isOf(this) || super.isSideInvisible(state, stateFrom, direction);
return stateFrom == state || super.isSideInvisible(state, stateFrom, direction);
}
@Override

View File

@ -30,4 +30,4 @@ public class HardcodedConfig {
public static final long FORCEFIELD_PROJECTOR_ENERGY_REQUIRED = 64;
public static final int FORCEFIELD_MAX_SIZE = 12;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B