Add New azazelthedemonlord Textures
All checks were successful
EnergonRelics/pipeline/head This commit looks good
@ -29,7 +29,7 @@ public class ForcefieldProjectorBlockEntity extends EnergyReceiverBlockEntity {
|
|||||||
BlockState targetState = getWorld().getBlockState(targetPos);
|
BlockState targetState = getWorld().getBlockState(targetPos);
|
||||||
if (targetState.isAir()) {
|
if (targetState.isAir()) {
|
||||||
getWorld().setBlockState(targetPos, state);
|
getWorld().setBlockState(targetPos, state);
|
||||||
} else if (targetState.getBlock() != EnergonRelics.FORCEFIELD_BLOCK) {
|
} else if (targetState != state) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ public class ForcefieldBlock extends SimpleBlock {
|
|||||||
@Override
|
@Override
|
||||||
@Environment(EnvType.CLIENT)
|
@Environment(EnvType.CLIENT)
|
||||||
public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) {
|
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
|
@Override
|
||||||
|
@ -30,4 +30,4 @@ public class HardcodedConfig {
|
|||||||
|
|
||||||
public static final long FORCEFIELD_PROJECTOR_ENERGY_REQUIRED = 64;
|
public static final long FORCEFIELD_PROJECTOR_ENERGY_REQUIRED = 64;
|
||||||
public static final int FORCEFIELD_MAX_SIZE = 12;
|
public static final int FORCEFIELD_MAX_SIZE = 12;
|
||||||
}
|
}
|
After Width: | Height: | Size: 569 B |
After Width: | Height: | Size: 573 B |
After Width: | Height: | Size: 475 B |
After Width: | Height: | Size: 559 B |
After Width: | Height: | Size: 588 B |
After Width: | Height: | Size: 557 B |
After Width: | Height: | Size: 578 B |