diff --git a/build.gradle b/build.gradle index 1dde96dc..95734d59 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'eclipse' apply plugin: 'maven-publish' -version = '20.0' +version = '20.1' group = 'de.ellpeck.naturesaura' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'NaturesAura' @@ -30,7 +30,7 @@ minecraft { property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console - property 'forge.logging.console.level', 'debug' + property 'forge.logging.console.level', 'info' mods { naturesaura { @@ -46,7 +46,7 @@ minecraft { property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console - property 'forge.logging.console.level', 'debug' + property 'forge.logging.console.level', 'info' mods { naturesaura { @@ -62,7 +62,7 @@ minecraft { property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console - property 'forge.logging.console.level', 'debug' + property 'forge.logging.console.level', 'info' args '--mod', 'naturesaura', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/'), '--existing', file('src/generated/resources') diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/BlockDimensionRail.java b/src/main/java/de/ellpeck/naturesaura/blocks/BlockDimensionRail.java index 2cea7170..5fe2aae7 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/BlockDimensionRail.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/BlockDimensionRail.java @@ -123,7 +123,7 @@ public class BlockDimensionRail extends AbstractRailBlock implements IModItem, I World overworld = server.getWorld(goalDimType); BlockPos spawn = overworld.getSpawnPoint(); BlockPos ret = new BlockPos(spawn.getX(), 0, spawn.getZ()); - return ret.up(overworld.getHeight(Heightmap.Type.WORLD_SURFACE_WG, spawn.getX(), spawn.getZ())); + return ret.up(overworld.getHeight(Heightmap.Type.WORLD_SURFACE, spawn.getX(), spawn.getZ())); } } } diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/BlockEndFlower.java b/src/main/java/de/ellpeck/naturesaura/blocks/BlockEndFlower.java index 804b75cb..53e0034e 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/BlockEndFlower.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/BlockEndFlower.java @@ -61,7 +61,7 @@ public class BlockEndFlower extends BushBlock implements IModItem, ICustomBlockS for (int i = 0; i < 6; i++) { int x = dragon.world.rand.nextInt(256) - 128; int z = dragon.world.rand.nextInt(256) - 128; - BlockPos pos = new BlockPos(x, dragon.world.getHeight(Heightmap.Type.WORLD_SURFACE_WG, x, z), z); + BlockPos pos = new BlockPos(x, dragon.world.getHeight(Heightmap.Type.WORLD_SURFACE, x, z), z); if (!dragon.world.isBlockLoaded(pos)) continue; if (dragon.world.getBlockState(pos.down()).getBlock() != Blocks.END_STONE)