Updated server and minor value changes made.

This commit is contained in:
Harrison Deng 2020-11-17 13:00:53 -06:00
parent 94dbda6ac6
commit 1702fe7472
4 changed files with 10 additions and 7 deletions

View File

@ -16,6 +16,8 @@ import org.bukkit.event.Event.Result;
import org.bukkit.event.block.Action; import org.bukkit.event.block.Action;
import org.bukkit.event.entity.EntityPickupItemEvent; import org.bukkit.event.entity.EntityPickupItemEvent;
import org.bukkit.event.inventory.InventoryClickEvent; 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.inventory.InventoryType.SlotType;
import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.PlayerDropItemEvent;
import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.event.player.PlayerInteractEvent;

View File

@ -18,7 +18,7 @@ public class TemperatureMap {
public TemperatureMap(Random random) { public TemperatureMap(Random random) {
temperatureCache = new Cache<>(1024); temperatureCache = new Cache<>(1024);
noiseGenerator = new SimplexOctaveGenerator(random, 2); noiseGenerator = new SimplexOctaveGenerator(random, 2);
noiseGenerator.setScale(0.0009D); noiseGenerator.setScale(0.001D);
} }
public float getTemperature(int worldX, int worldZ) { public float getTemperature(int worldX, int worldZ) {

View File

@ -123,6 +123,7 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene
for (int y = 0; y < worldInfo.getWorldHeight(); y++) { for (int y = 0; y < worldInfo.getWorldHeight(); y++) {
biomeGrid.setBiome(localX, y, localZ, currentBiome); biomeGrid.setBiome(localX, y, localZ, currentBiome);
} }
BiomeInfo currentBiomeInfo = localBiomeInfos[localX][localZ]; BiomeInfo currentBiomeInfo = localBiomeInfos[localX][localZ];
@ -184,11 +185,6 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene
@Override @Override
public boolean shouldGenerateStructures() { public boolean shouldGenerateStructures() {
return false;
}
@Override
public boolean shouldGenerateMobs() {
return true; return true;
} }
@ -196,4 +192,9 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene
public boolean isParallelCapable() { public boolean isParallelCapable() {
return true; return true;
} }
@Override
public boolean shouldGenerateMobs() {
return true;
}
} }

View File

@ -1 +1 @@
Start-Process java -ArgumentList "-Xms512M", "-Xmx1G", "-jar", "paper.jar", "nogui" Start-Process java -ArgumentList "-Xms512M", "-Xmx1G", "-jar", "craftbukkit.jar", "nogui"