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 {
shadow

View File

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

View File

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

View File

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