diff --git a/src/main/java/ca/recrown/islandsurvivalcraft/interaction/items/ItemVariantManager.java b/src/main/java/ca/recrown/islandsurvivalcraft/interaction/items/ItemVariantManager.java index c5e59f1..23e2b73 100644 --- a/src/main/java/ca/recrown/islandsurvivalcraft/interaction/items/ItemVariantManager.java +++ b/src/main/java/ca/recrown/islandsurvivalcraft/interaction/items/ItemVariantManager.java @@ -16,6 +16,8 @@ import org.bukkit.event.Event.Result; import org.bukkit.event.block.Action; import org.bukkit.event.entity.EntityPickupItemEvent; import org.bukkit.event.inventory.InventoryClickEvent; +import org.bukkit.event.inventory.InventoryEvent; +import org.bukkit.event.inventory.InventoryMoveItemEvent; import org.bukkit.event.inventory.InventoryType.SlotType; import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.PlayerInteractEvent; diff --git a/src/main/java/ca/recrown/islandsurvivalcraft/world/TemperatureMap.java b/src/main/java/ca/recrown/islandsurvivalcraft/world/TemperatureMap.java index 5687960..9a54c36 100644 --- a/src/main/java/ca/recrown/islandsurvivalcraft/world/TemperatureMap.java +++ b/src/main/java/ca/recrown/islandsurvivalcraft/world/TemperatureMap.java @@ -18,7 +18,7 @@ public class TemperatureMap { public TemperatureMap(Random random) { temperatureCache = new Cache<>(1024); noiseGenerator = new SimplexOctaveGenerator(random, 2); - noiseGenerator.setScale(0.0009D); + noiseGenerator.setScale(0.001D); } public float getTemperature(int worldX, int worldZ) { diff --git a/src/main/java/ca/recrown/islandsurvivalcraft/world/generation/chunks/IslandWorldChunkGenerator.java b/src/main/java/ca/recrown/islandsurvivalcraft/world/generation/chunks/IslandWorldChunkGenerator.java index 1e906aa..2ca5597 100644 --- a/src/main/java/ca/recrown/islandsurvivalcraft/world/generation/chunks/IslandWorldChunkGenerator.java +++ b/src/main/java/ca/recrown/islandsurvivalcraft/world/generation/chunks/IslandWorldChunkGenerator.java @@ -123,6 +123,7 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene for (int y = 0; y < worldInfo.getWorldHeight(); y++) { biomeGrid.setBiome(localX, y, localZ, currentBiome); + } BiomeInfo currentBiomeInfo = localBiomeInfos[localX][localZ]; @@ -184,11 +185,6 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene @Override public boolean shouldGenerateStructures() { - return false; - } - - @Override - public boolean shouldGenerateMobs() { return true; } @@ -196,4 +192,9 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene public boolean isParallelCapable() { return true; } + + @Override + public boolean shouldGenerateMobs() { + return true; + } } \ No newline at end of file diff --git a/test-server/start_normal.ps1 b/test-server/start_normal.ps1 index 8cbf7e6..3974069 100644 --- a/test-server/start_normal.ps1 +++ b/test-server/start_normal.ps1 @@ -1 +1 @@ -Start-Process java -ArgumentList "-Xms512M", "-Xmx1G", "-jar", "paper.jar", "nogui" \ No newline at end of file +Start-Process java -ArgumentList "-Xms512M", "-Xmx1G", "-jar", "craftbukkit.jar", "nogui" \ No newline at end of file