fabric-1.20.6: update to 1.20.6

This commit is contained in:
Kosma Moczek 2024-06-02 12:06:56 +02:00
parent 4d7d66f199
commit 788addccde
4 changed files with 12 additions and 11 deletions

View File

@ -12,7 +12,7 @@ eclipse {
} }
} }
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly. sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(21) // Need this here so eclipse task generates correctly.
configurations { configurations {
shadow shadow

View File

@ -1,4 +1,4 @@
minecraft_version=1.20.4 minecraft_version=1.20.6
yarn_mappings=1.20.4+build.1 yarn_mappings=1.20.6+build.1
loader_version=0.15.2 loader_version=0.15.11
fabric_version=0.91.2+1.20.4 fabric_version=0.98.0+1.20.6

View File

@ -96,9 +96,10 @@ public class FabricWorld extends DynmapWorld {
@Override @Override
public DynmapLocation getSpawnLocation() { public DynmapLocation getSpawnLocation() {
if (world != null) { if (world != null) {
spawnloc.x = world.getLevelProperties().getSpawnX(); BlockPos spawnPos = world.getLevelProperties().getSpawnPos();
spawnloc.y = world.getLevelProperties().getSpawnY(); spawnloc.x = spawnPos.getX();
spawnloc.z = world.getLevelProperties().getSpawnZ(); spawnloc.y = spawnPos.getY();
spawnloc.z = spawnPos.getZ();
spawnloc.world = this.getName(); spawnloc.world = this.getName();
} }
return spawnloc; return spawnloc;

View File

@ -27,8 +27,8 @@
"accessWidener" : "dynmap.accesswidener", "accessWidener" : "dynmap.accesswidener",
"depends": { "depends": {
"fabricloader": ">=0.15.2", "fabricloader": ">=0.15.11",
"fabric": ">=0.91.0", "fabric": ">=0.98.0",
"minecraft": ["1.20.3", "1.20.4"] "minecraft": ["1.20.5", "1.20.6"]
} }
} }