-
Posts
11 -
Joined
-
Last visited
Everything posted by MassiveZappy
-
I'm trying to figure out how to add a seed ("long seed") to this function: LevelStem createLevel(MinecraftServer server, ResourceKey<Level> levelType, long seed) { if (levelType == Level.OVERWORLD) { ServerLevel oldLevel = server.getLevel(Level.OVERWORLD); } else if (levelType == Level.NETHER) { ServerLevel oldLevel = server.getLevel(Level.NETHER); } else if (levelType == Level.END) { ServerLevel oldLevel = server.getLevel(Level.END); } else { throw new CommandRuntimeException(Component.literal(String.format("Error copying dimension: %s", "Only the overworld, nether, and end are supported"))); } ServerLevel oldLevel = server.overworld(); DynamicOps<Tag> ops = RegistryOps.create(NbtOps.INSTANCE, server.registryAccess()); ChunkGenerator oldChunkGenerator = oldLevel.getChunkSource().getGenerator(); ChunkGenerator newChunkGenerator = ChunkGenerator.CODEC.encodeStart(ops, oldChunkGenerator) .flatMap(nbt -> ChunkGenerator.CODEC.parse(ops, nbt)) .getOrThrow(false, s -> { throw new CommandRuntimeException(Component.literal(String.format("Error copying dimension: %s", s))); }); Holder<DimensionType> typeHolder = oldLevel.dimensionTypeRegistration(); // newChunkGenerator.withSeed(server.getLevel(Level.OVERWORLD).getSeed()); DOES NOT WORK return new LevelStem(typeHolder, newChunkGenerator); } I could have used ChunkGenerator#withSeed(long seed) in 1.16/1.17, but where did it move to for 1.19? If It was removed, how do I mimic this functionality?
-
My modded server crashed, how do i get it to start?
MassiveZappy replied to Andre299's topic in Support & Bug Reports
Try updating the core mods that are listed, and if that didn't work, https://www.curseforge.com/minecraft/mc-mods/vics-modern-warfare-mod/files/4415481 is throwing tons of errors. If none of that works, try removing mods until it works. There may be a faulty mod. -
Rubidium? (https://www.curseforge.com/minecraft/mc-mods/rubidium)
-
It seems that the gamer time mod is throwing an error. Try removing it. Your crash report told you which mod errored. It says gaming chairs 2 crashed and gamer time is the continuation of gaming chairs.
- 1 reply
-
- 1
-
-
I might have messed up something (Exit Code: -1)
MassiveZappy replied to merlin99961's topic in Support & Bug Reports
To post a whole crash, use https://gist.github.com/ or use https://pastebin.com/ but from what you've provided, the Waddles mod (https://www.curseforge.com/minecraft/mc-mods/waddles) has an Adelie Penguin mob that is erroring. You're game probably crashed due to adventuring in a direction where the penguin generated. For now, I recommend removing the Waddles mod, but if that's not a good option, add the Erroring Entity Remover Reforged to your mods (https://www.curseforge.com/minecraft/mc-mods/erroring-entity-remover-reforged) -
I'm trying to figure out how to add a seed to this function: LevelStem createLevel(MinecraftServer server, ResourceKey<Level> levelType, long seed) { if (levelType == Level.OVERWORLD) { ServerLevel oldLevel = server.getLevel(Level.OVERWORLD); } else if (levelType == Level.NETHER) { ServerLevel oldLevel = server.getLevel(Level.NETHER); } else if (levelType == Level.END) { ServerLevel oldLevel = server.getLevel(Level.END); } else { throw new CommandRuntimeException(Component.literal(String.format("Error copying dimension: %s", "Only the overworld, nether, and end are supported"))); } ServerLevel oldLevel = server.overworld(); DynamicOps<Tag> ops = RegistryOps.create(NbtOps.INSTANCE, server.registryAccess()); ChunkGenerator oldChunkGenerator = oldLevel.getChunkSource().getGenerator(); ChunkGenerator newChunkGenerator = ChunkGenerator.CODEC.encodeStart(ops, oldChunkGenerator) .flatMap(nbt -> ChunkGenerator.CODEC.parse(ops, nbt)) .getOrThrow(false, s -> { throw new CommandRuntimeException(Component.literal(String.format("Error copying dimension: %s", s))); }); Holder<DimensionType> typeHolder = oldLevel.dimensionTypeRegistration(); // newChunkGenerator.withSeed(server.getLevel(Level.OVERWORLD).getSeed()); DOES NOT WORK return new LevelStem(typeHolder, newChunkGenerator); } I could have used ChunkGenerator#withSeed(long seed) in 1.16/1.17, but where did it move to for 1.19? If It was removed, how do I mimic this functionality?
-
Mac M1 1.18.2 Forge Crash/Error
MassiveZappy replied to MassiveZappy's topic in Support & Bug Reports
Update 2: It runs fine with the normal launcher with the "bundled java runtime", but of you change it (you need to set it with mutimc), it simply spits out the same error. I'll try updating macOS & Changing java to run under Rosetta (x86_64). I'll update if I find anything further. Using aarm64 openjdk 17 now. -
Mac M1 1.18.2 Forge Crash/Error
MassiveZappy replied to MassiveZappy's topic in Support & Bug Reports
I managed to get it to work by using Java 18 with Curse Forge and got atm7 to run. However, I would still like to know how to get this to work on Multimc. -
Mac M1 1.18.2 Forge Crash/Error If more info is needed I will try to provide. MacOs: Apple M1 (32Gpu if that matters) Versions: I use Multimc to launch Minecraft, and here are the versions: (yes, even the newest forge and java 17.03 crash) I use the m1-multimc-hack github: https://github.com/yusefnapora/m1-multimc-hack And here is the log: https://paste.ee/p/796sB Failed to start due to: java.lang.reflect.InvocationTargetException Works on any other forge version except mc 1.18 with java 17.