File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
java/com/sk89q/worldedit/forge Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ plugins {
12
12
applyPlatformAndCoreConfiguration(javaRelease = 17 )
13
13
applyShadowConfiguration()
14
14
15
- val minecraftVersion = " 1.20.2 "
15
+ val minecraftVersion = " 1.20.3 "
16
16
val nextMajorMinecraftVersion: String = minecraftVersion.split(' .' ).let { (useless, major) ->
17
17
" $useless .${major.toInt() + 1 } "
18
18
}
19
- val forgeVersion = " 48 .0.20 "
19
+ val forgeVersion = " 49 .0.2 "
20
20
21
21
val apiClasspath = configurations.create(" apiClasspath" ) {
22
22
isCanBeResolved = true
Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ class ForgeWatchdog implements Watchdog {
33
33
34
34
@ Override
35
35
public void tick () {
36
- server .nextTickTime = Util .getMillis ();
36
+ server .nextTickTimeNanos = Util .getNanos ();
37
37
}
38
38
}
Original file line number Diff line number Diff line change @@ -596,8 +596,8 @@ public boolean equals(Object o) {
596
596
public List <? extends Entity > getEntities (Region region ) {
597
597
final ServerLevel world = getWorld ();
598
598
AABB box = new AABB (
599
- ForgeAdapter .toBlockPos (region .getMinimumPoint ()),
600
- ForgeAdapter .toBlockPos (region .getMaximumPoint ().add (BlockVector3 .ONE ))
599
+ ForgeAdapter .toVec3 (region .getMinimumPoint ()),
600
+ ForgeAdapter .toVec3 (region .getMaximumPoint ().add (BlockVector3 .ONE ))
601
601
);
602
602
List <net .minecraft .world .entity .Entity > nmsEntities = world .getEntities (
603
603
(net .minecraft .world .entity .Entity ) null ,
Original file line number Diff line number Diff line change 1
- public net.minecraft.server.MinecraftServer f_129726_ # nextTickTime
1
+ public net.minecraft.server.MinecraftServer f_302313_ # nextTickTimeNanos
2
2
3
3
# For regen
4
4
public net.minecraft.server.MinecraftServer f_129744_ # storageSource
You can’t perform that action at this time.
0 commit comments