Fixed nether namespace

This commit is contained in:
LOOHP 2020-08-03 23:30:38 +08:00
parent 7103bd0eb1
commit 96bb492fc4
3 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ public class PacketPlayOutMapChunk extends Packet {
// output.writeInt(i); // output.writeInt(i);
//} //}
for (int i = 0; i < 1024; i++) { for (int i = 0; i < 1024; i++) {
output.writeInt(17); output.writeInt(127);
} }
ByteArrayOutputStream dataBuffer = new ByteArrayOutputStream(); ByteArrayOutputStream dataBuffer = new ByteArrayOutputStream();

View File

@ -29,9 +29,9 @@ public class DimensionRegistry {
overworld.putString("infiniburn", ""); overworld.putString("infiniburn", "");
CompoundTag nether = new CompoundTag(); CompoundTag nether = new CompoundTag();
nether.putString("name", "minecraft:nether"); nether.putString("name", "minecraft:the_nether");
nether.putByte("natural", (byte) 0); 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_ceiling", (byte) 1);
nether.putByte("has_skylight", (byte) 0); nether.putByte("has_skylight", (byte) 0);
nether.putLong("fixed_time", 0); nether.putLong("fixed_time", 0);
@ -41,7 +41,7 @@ public class DimensionRegistry {
nether.putByte("respawn_anchor_works", (byte) 1); nether.putByte("respawn_anchor_works", (byte) 1);
nether.putByte("bed_works", (byte) 0); nether.putByte("bed_works", (byte) 0);
nether.putByte("piglin_safe", (byte) 1); nether.putByte("piglin_safe", (byte) 1);
nether.putInt("logical_height", 256); nether.putInt("logical_height", 128);
nether.putString("infiniburn", ""); nether.putString("infiniburn", "");
CompoundTag the_end = new CompoundTag(); CompoundTag the_end = new CompoundTag();

View File

@ -10,7 +10,7 @@ server-ip=localhost
#World Name and the Schematic file containing map #World Name and the Schematic file containing map
level-name=world;spawn.schem 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 level-dimension=minecraft:the_end
#Whether Flying is allowed #Whether Flying is allowed