mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed the fire gems
This commit is contained in:
parent
871edea0d7
commit
c5074c41de
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ public class StateMaps {
|
|||
a.removeBlock(s -> s.getBlock() instanceof PlantBlock);
|
||||
a.replaceBlock(Blocks.CLAY, Blocks.BROWN_CONCRETE);
|
||||
a.replaceBlock(Blocks.OBSIDIAN, Blocks.LAVA);
|
||||
a.replaceBlock(Blocks.GRASS, Blocks.DIRT);
|
||||
a.replaceBlock(Blocks.GRASS_BLOCK, Blocks.DIRT);
|
||||
a.replaceBlock(Blocks.MOSSY_COBBLESTONE, Blocks.COBBLESTONE);
|
||||
a.replaceBlock(Blocks.MOSSY_COBBLESTONE_WALL, Blocks.COBBLESTONE_WALL);
|
||||
a.replaceBlock(Blocks.MOSSY_STONE_BRICKS, Blocks.STONE_BRICKS);
|
||||
|
@ -62,7 +62,7 @@ public class StateMaps {
|
|||
|
||||
public static final BlockStateConverter HELLFIRE_AFFECTED = register(Util.make(new BlockStateMap(), a -> {
|
||||
a.add(StateMapping.build(
|
||||
s -> s.getBlock() == Blocks.GRASS || s.getBlock() == Blocks.DIRT || s.getBlock() == Blocks.STONE,
|
||||
s -> s.getBlock() == Blocks.GRASS_BLOCK || s.getBlock() == Blocks.DIRT || s.getBlock() == Blocks.STONE,
|
||||
s -> Blocks.NETHERRACK.getDefaultState()));
|
||||
a.replaceBlock(Blocks.SAND, Blocks.SOUL_SAND);
|
||||
a.replaceBlock(Blocks.GRAVEL, Blocks.SOUL_SAND);
|
||||
|
|
|
@ -26,7 +26,7 @@ public interface PosHelper {
|
|||
|
||||
static BlockPos findSolidGroundAt(World world, BlockPos pos) {
|
||||
while ((pos.getY() > 0 || !World.isHeightInvalid(pos))
|
||||
&& (world.isAir(pos) || world.getBlockState(pos).canPlaceAt(world, pos))) {
|
||||
&& (world.isAir(pos) || !world.getBlockState(pos).canPlaceAt(world, pos))) {
|
||||
pos = pos.down();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue