Skip to content

Commit

Permalink
build: 23w43a
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Oct 26, 2023
1 parent 8cbbe48 commit 4e3592c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@Mixin(MinecraftServer.class)
public class MixinMinecraftServer {

@Shadow private long timeReference;
@Shadow(aliases = "field_47139") private long timeReference;

@Inject(method = "shutdown", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/MinecraftServer;runTasksTillTickEnd()V", shift = At.Shift.BEFORE))
private void shutdownBeforeRunTasks(CallbackInfo ci) {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ org.gradle.parallel=true
fabric.loom.multiProjectOptimisation=true
# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=23w42a
yarn_mappings=23w42a+build.1
loader_version=0.14.23
minecraft_version=23w43a
yarn_mappings=23w43a+build.2
loader_version=0.14.24
# Mod Properties
mod_version=0.2.0+alpha.11
maven_group=com.ishland.c2me
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.class_8895;
import net.minecraft.datafixer.Schemas;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtList;
Expand Down Expand Up @@ -55,6 +54,7 @@
import net.minecraft.world.dimension.DimensionOptions;
import net.minecraft.world.gen.structure.Structure;
import net.minecraft.world.level.storage.LevelStorage;
import net.minecraft.world.level.storage.ParsedSaveProperties;
import net.minecraft.world.storage.StorageIoWorker;
import net.minecraft.world.updater.WorldUpdater;
import org.apache.logging.log4j.LogManager;
Expand Down Expand Up @@ -279,9 +279,9 @@ private static WorldHandle getWorldHandle(File worldFolder, String description)
serverConfig,
arg -> {
Registry<DimensionOptions> registry = arg.dimensionsRegistryManager().get(RegistryKeys.DIMENSION);
final class_8895 lv = LevelStorage.method_54523(null, arg.dataConfiguration(), registry, arg.worldGenRegistryManager());
final ParsedSaveProperties lv = LevelStorage.parseSaveProperties(null, arg.dataConfiguration(), registry, arg.worldGenRegistryManager());
Objects.requireNonNull(lv);
return new SaveLoading.LoadContext<>(lv.worldData(), lv.dimensions().toDynamicRegistryManager());
return new SaveLoading.LoadContext<>(lv.properties(), lv.dimensions().toDynamicRegistryManager());
},
SaveLoader::new,
Util.getMainWorkerExecutor(),
Expand Down

0 comments on commit 4e3592c

Please sign in to comment.