Jump to content

MassiveZappy

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by MassiveZappy

  1. Found WorldGenSettings#withSeed(bool, OptionalLong), but still struggling to implement it into the function.
  2. 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?
  3. 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.
  4. Rubidium? (https://www.curseforge.com/minecraft/mc-mods/rubidium)
  5. 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.
  6. 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.
  7. 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)
  8. 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?
  9. 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.
  10. 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.
  11. 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.