From 96bb492fc4bd7979c7ac21d02e4df716d76747d2 Mon Sep 17 00:00:00 2001 From: LOOHP Date: Mon, 3 Aug 2020 23:30:38 +0800 Subject: [PATCH] Fixed nether namespace --- .../loohp/limbo/Server/Packets/PacketPlayOutMapChunk.java | 2 +- src/com/loohp/limbo/World/DimensionRegistry.java | 6 +++--- src/server.properties | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/com/loohp/limbo/Server/Packets/PacketPlayOutMapChunk.java b/src/com/loohp/limbo/Server/Packets/PacketPlayOutMapChunk.java index 07042fd..7f8ad66 100644 --- a/src/com/loohp/limbo/Server/Packets/PacketPlayOutMapChunk.java +++ b/src/com/loohp/limbo/Server/Packets/PacketPlayOutMapChunk.java @@ -61,7 +61,7 @@ public class PacketPlayOutMapChunk extends Packet { // output.writeInt(i); //} for (int i = 0; i < 1024; i++) { - output.writeInt(17); + output.writeInt(127); } ByteArrayOutputStream dataBuffer = new ByteArrayOutputStream(); diff --git a/src/com/loohp/limbo/World/DimensionRegistry.java b/src/com/loohp/limbo/World/DimensionRegistry.java index 628ca3d..1076082 100644 --- a/src/com/loohp/limbo/World/DimensionRegistry.java +++ b/src/com/loohp/limbo/World/DimensionRegistry.java @@ -29,9 +29,9 @@ public class DimensionRegistry { overworld.putString("infiniburn", ""); CompoundTag nether = new CompoundTag(); - nether.putString("name", "minecraft:nether"); + nether.putString("name", "minecraft:the_nether"); nether.putByte("natural", (byte) 0); - nether.putFloat("ambient_light", 0.6F); + nether.putFloat("ambient_light", 0.3F); nether.putByte("has_ceiling", (byte) 1); nether.putByte("has_skylight", (byte) 0); nether.putLong("fixed_time", 0); @@ -41,7 +41,7 @@ public class DimensionRegistry { nether.putByte("respawn_anchor_works", (byte) 1); nether.putByte("bed_works", (byte) 0); nether.putByte("piglin_safe", (byte) 1); - nether.putInt("logical_height", 256); + nether.putInt("logical_height", 128); nether.putString("infiniburn", ""); CompoundTag the_end = new CompoundTag(); diff --git a/src/server.properties b/src/server.properties index 58c0b84..e94dcc9 100644 --- a/src/server.properties +++ b/src/server.properties @@ -10,7 +10,7 @@ server-ip=localhost #World Name and the Schematic file containing map level-name=world;spawn.schem -#Dimension, "minecraft:overworld", "minecraft:nether" or "minecraft:the_end" +#Dimension, "minecraft:overworld", "minecraft:the_nether" or "minecraft:the_end" level-dimension=minecraft:the_end #Whether Flying is allowed