-
Where did ChunkGenerator#withSeed(long seed) Move to in 1.19? (Dynamic Runtime Dimension/Level Generation)
Found WorldGenSettings#withSeed(bool, OptionalLong), but still struggling to implement it into the function.
-
Where did ChunkGenerator#withSeed(long seed) Move to in 1.19? (Dynamic Runtime Dimension/Level Generation)
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?
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.
-
Optifine is messing up Minecraft.
Rubidium? (https://www.curseforge.com/minecraft/mc-mods/rubidium)
-
Every time I load Cursed Walking with Rubidium added I keeps on Crashing
Cursed Walking explicitly mentions using Optifine as a solution to performance. Rubidium appears to be incompatible with one, or many of the mods in this pack.
-
My Minecraft crashed when trying to load up 1.19.2 forge with the mods listed below please help me fix this if you can,Thank You
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.
-
I might have messed up something (Exit Code: -1)
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)
-
Where did ChunkGenerator#withSeed(long seed) Move to in 1.19? (Dynamic Runtime Dimension/Level Generation)
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
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
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.
-
MassiveZappy changed their profile photo
-
Mac M1 1.18.2 Forge Crash/Error
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.
IPS spam blocked by CleanTalk.