Skip to content

Commit 788addc

Browse files
committed
fabric-1.20.6: update to 1.20.6
1 parent 4d7d66f commit 788addc

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

fabric-1.20.6/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ eclipse {
1212
}
1313
}
1414

15-
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
15+
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(21) // Need this here so eclipse task generates correctly.
1616

1717
configurations {
1818
shadow

fabric-1.20.6/gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
minecraft_version=1.20.4
2-
yarn_mappings=1.20.4+build.1
3-
loader_version=0.15.2
4-
fabric_version=0.91.2+1.20.4
1+
minecraft_version=1.20.6
2+
yarn_mappings=1.20.6+build.1
3+
loader_version=0.15.11
4+
fabric_version=0.98.0+1.20.6

fabric-1.20.6/src/main/java/org/dynmap/fabric_1_20_6/FabricWorld.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ public boolean isTheEnd() {
9696
@Override
9797
public DynmapLocation getSpawnLocation() {
9898
if (world != null) {
99-
spawnloc.x = world.getLevelProperties().getSpawnX();
100-
spawnloc.y = world.getLevelProperties().getSpawnY();
101-
spawnloc.z = world.getLevelProperties().getSpawnZ();
99+
BlockPos spawnPos = world.getLevelProperties().getSpawnPos();
100+
spawnloc.x = spawnPos.getX();
101+
spawnloc.y = spawnPos.getY();
102+
spawnloc.z = spawnPos.getZ();
102103
spawnloc.world = this.getName();
103104
}
104105
return spawnloc;

fabric-1.20.6/src/main/resources/fabric.mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"accessWidener" : "dynmap.accesswidener",
2828

2929
"depends": {
30-
"fabricloader": ">=0.15.2",
31-
"fabric": ">=0.91.0",
32-
"minecraft": ["1.20.3", "1.20.4"]
30+
"fabricloader": ">=0.15.11",
31+
"fabric": ">=0.98.0",
32+
"minecraft": ["1.20.5", "1.20.6"]
3333
}
3434
}

0 commit comments

Comments
 (0)