paulevsGitch / BetterEnd

Better End MC Mod
MIT License
101 stars 82 forks source link

[Compatibility] Add null check to dimension key in BlockFixer #288

Closed itsdinkd closed 2 years ago

itsdinkd commented 3 years ago

---- Minecraft Crash Report ---- // I just don't know what went wrong :(

Time: 8/17/21, 4:21 PM Description: Feature placement

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2960.method_12836()" because "dimKey" is null at ru.betterend.util.BlockFixer.fixBlocks(BlockFixer.java:32) at ru.betterend.world.features.terrain.caves.EndCaveFeature.fixBlocks(EndCaveFeature.java:221) at ru.betterend.world.features.terrain.caves.EndCaveFeature.method_13151(EndCaveFeature.java:85) at net.minecraft.class_2975.method_12862(class_2975.java:58) at net.minecraft.class_2988.method_30384(class_2988.java:29) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180) at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) at java.base/java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:699) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at net.minecraft.class_2988.method_13151(class_2988.java:28) at net.minecraft.class_2975.method_12862(class_2975.java:58) at net.minecraft.class_1959.method_8702(class_1959.java:388) at net.minecraft.class_2794.method_12102(class_2794.java:245) at net.minecraft.class_2806.method_12151(class_2806.java:100) at net.minecraft.class_2806.method_12154(class_2806.java:231) at net.minecraft.class_3898.method_17225(class_3898.java:556) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at net.minecraft.class_3898.method_17224(class_3898.java:550) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) at net.minecraft.class_3900.method_17634(class_3900.java:58) at net.minecraft.class_3846.method_16907(class_3846.java:91) at net.minecraft.class_3846.method_16900(class_3846.java:146) at net.minecraft.class_3846.run(class_3846.java:102) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Server thread Stacktrace: at ru.betterend.util.BlockFixer.fixBlocks(BlockFixer.java:32) at ru.betterend.world.features.terrain.caves.EndCaveFeature.fixBlocks(EndCaveFeature.java:221) at ru.betterend.world.features.terrain.caves.EndCaveFeature.method_13151(EndCaveFeature.java:85) at net.minecraft.class_2975.method_12862(class_2975.java:58) at net.minecraft.class_2988.method_30384(class_2988.java:29) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180) at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) at java.base/java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:699) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at net.minecraft.class_2988.method_13151(class_2988.java:28) at net.minecraft.class_2975.method_12862(class_2975.java:58)

-- Feature -- Details: Description: ResourceKey[minecraft:worldgen/configured_feature / betterend:round_cave] Stacktrace: at java.base/java.lang.Thread.getStackTrace(Thread.java:1596) at net.minecraft.class_129.method_580(class_129.java:523) at net.minecraft.class_128.method_556(class_128.java:198) at net.minecraft.class_128.method_562(class_128.java:169) at net.minecraft.class_2794.method_12102(class_2794.java:248) at net.minecraft.class_2806.method_12151(class_2806.java:100) at net.minecraft.class_2806.method_12154(class_2806.java:231) at net.minecraft.class_3898.method_17225(class_3898.java:556) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at net.minecraft.class_3898.method_17224(class_3898.java:550) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) at net.minecraft.class_3900.method_17634(class_3900.java:58) at net.minecraft.class_3846.method_16907(class_3846.java:91) at net.minecraft.class_3846.method_16900(class_3846.java:146) at net.minecraft.class_3846.run(class_3846.java:102) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

-- Generation -- Details: CenterX: -3 CenterZ: -1 Seed: 7257207421910053473 Biome: net.minecraft.class_1959@77bef84d Stacktrace: at java.base/java.lang.Thread.getStackTrace(Thread.java:1596) at net.minecraft.class_129.method_580(class_129.java:523) at net.minecraft.class_128.method_556(class_128.java:198) at net.minecraft.class_128.method_562(class_128.java:169) at net.minecraft.class_3898.method_17225(class_3898.java:562) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at net.minecraft.class_3898.method_17224(class_3898.java:550) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) at net.minecraft.class_3900.method_17634(class_3900.java:58) at net.minecraft.class_3846.method_16907(class_3846.java:91) at net.minecraft.class_3846.method_16900(class_3846.java:146) at net.minecraft.class_3846.run(class_3846.java:102) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

-- Chunk to be generated -- Details: Location: -3,-1 Position hash: -3 Generator: net.minecraft.class_3754@75cd794b Stacktrace: at java.base/java.lang.Thread.getStackTrace(Thread.java:1596) at net.minecraft.class_129.method_580(class_129.java:523) at net.minecraft.class_128.method_556(class_128.java:198) at net.minecraft.class_1937.method_8538(class_1937.java:845) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:894) at net.minecraft.class_3176.method_3813(class_3176.java:335) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:831) at net.minecraft.server.MinecraftServer.handler$cma000$modifiedRunLoop(MinecraftServer.java:8390) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) at java.base/java.lang.Thread.run(Thread.java:831)

-- Affected level -- Details: All players: 1 total; [class_3222['DaddyDanked'/427, l='ServerLevel[world]', x=0.50, y=75.00, z=0.50]] Chunk stats: 811 Level dimension: minecraft:the_end Derived: true Level spawn location: World: (32,66,22), Section: (at 0,2,6 in 2,4,1; chunk contains blocks 32,0,16 to 47,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 45132148 game time, 4470556 day time Level name: world Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Level weather: Rain time: 80268 (now: false), thunder time: 50955 (now: false) Known server brands: fabric Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:894) at net.minecraft.class_3176.method_3813(class_3176.java:335) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:831) at net.minecraft.server.MinecraftServer.handler$cma000$modifiedRunLoop(MinecraftServer.java:8390) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) at java.base/java.lang.Thread.run(Thread.java:831)

-- System Details -- Details: Minecraft Version: 1.17.1 Minecraft Version ID: 1.17.1 Operating System: Linux (amd64) version 4.19.0-14-amd64 Java Version: 16.0.2, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation Memory: 15617109728 bytes (14893 MiB) / 19922944000 bytes (19000 MiB) up to 19922944000 bytes (19000 MiB) CPUs: 5 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 9 5950X 16-Core Processor Identifier: AuthenticAMD Family 25 Model 33 Stepping 0 Microarchitecture: Zen 3 Frequency (GHz): -0.00 Number of physical packages: 1 Number of physical CPUs: 16 Number of logical CPUs: 32 Graphics card #0 name: unknown Graphics card #0 vendor: unknown Graphics card #0 VRAM (MB): 0.00 Graphics card #0 deviceId: unknown Graphics card #0 versionInfo: unknown Virtual memory max (MB): 159762.38 Virtual memory used (MB): 124635.23 Swap memory total (MB): 95301.00 Swap memory used (MB): 29173.74 JVM Flags: 21 total; -XX:+UseContainerSupport -Xms19000M -Xmx19000M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 Loaded Scarpet Apps: rope_ladders Fabric Mods: adventure-platform-fabric: adventure-platform-fabric 4.1.0-SNAPSHOT adventurez: AdventureZ 1.2.10 agape_space: Space Dimensions 0.3.0 apoli: Apoli 1.0.4 appleskin: AppleSkin mc1.17-2.1.3 aqupd: Caracal mob 1.17-1.3.0 architectury: Architectury 2.4.25 artifality: Artifality 0.3.3 artofalchemy: Art of Alchemy: Memoriam 1.2.0+1.17.1 balm-fabric: Balm 1.3.0+0 banhammer: BanHammer 0.4.0+1.17.1 bclib: BCLib 0.3.1 better_wandering_trader: Better Wandering Trader 1.7.0 bettercommandblock: IDE Better Command Block 2.1.0 betterend: Better End 0.11.0-pre bettermineshafts: YUNG's Better Mineshafts 1.17-1.0.1 betternether: Better Nether 5.1.3 betterstrongholds: YUNG's Better Strongholds 1.17-1.1.1 bewitchment: Bewitchment 1.17-3 blockus: Blockus 2.2.8+1.17.1 blue_endless_jankson: jankson 1.2.1 bosses_of_mass_destruction: Bosses of Mass Destruction (Beta) 1.2.3-1.17.1 calio: Calio 1.0.2 cardinal-components: Cardinal Components API 3.1.1 cardinal-components-base: Cardinal Components API (base) 3.1.1 cardinal-components-block: Cardinal Components API (blocks) 3.1.1 cardinal-components-chunk: Cardinal Components API (chunks) 3.1.1 cardinal-components-entity: Cardinal Components API (entities) 3.1.1 cardinal-components-item: Cardinal Components API (items) 3.1.1 cardinal-components-level: Cardinal Components API (world saves) 3.1.1 cardinal-components-scoreboard: Cardinal Components API (scoreboard) 3.1.1 cardinal-components-util: Cardinal Components API (utilities) 3.1.1 cardinal-components-world: Cardinal Components API (worlds) 3.1.1 carpet: Carpet Mod 1.4.45 carpet-extra: Carpet Extra 1.4.43 carpet-tis-addition: Carpet TIS Addition 1.21.0+build.642 charm: Charm 3.3.2 chat_plus: Chat+ 2.1.4 cloth-api: Cloth API 2.0.54 cloth-basic-math: Cloth Basic Math 0.5.1 cloth-client-events-v0: Cloth Client Events v0 2.0.54 cloth-common-events-v1: Cloth Common Events v1 2.0.54 cloth-config2: Cloth Config v5 5.0.38 cloth-datagen-api-v1: Cloth Datagen v1 2.0.54 cloth-utils-v1: Cloth Utils v1 2.0.54 cloud: Cloud 1.5.0 cloud_commandframeworkcloud-brigadier: cloud-brigadier 1.5.0 cloud_commandframeworkcloud-core: cloud-core 1.5.0 cloud_commandframework_cloud-minecraft-extras: cloud-minecraft-extras 1.5.0 cloud_commandframeworkcloud-services: cloud-services 1.5.0 club_minnced_discord-webhooks: discord-webhooks 0.5.7 colorutility: ColorUtility 2.0.1 com_electronwill_night-config_core: core 3.6.2 com_electronwill_night-config_toml: toml 3.6.2 com_fasterxml_jackson_core_jackson-annotations: jackson-annotations 2.10.1 com_fasterxml_jackson_core_jackson-core: jackson-core 2.10.1 com_fasterxml_jackson_core_jackson-databind: jackson-databind 2.10.1 com_moandjiezana_toml_toml4j: toml4j 0.7.2 com_neovisionaries_nv-websocket-client: nv-websocket-client 2.14 com_squareup_okhttp3_okhttp: okhttp 3.14.9 com_squareup_okio_okio: okio 1.17.2 com_typesafe_config: config 1.4.1 com_vdurmont_emoji-java: emoji-java 5.1.1 com_velocitypowered_velocity-native: velocity-native 1.1.0-SNAPSHOT completeconfig: CompleteConfig 1.0.0 craftingtweaks: Crafting Tweaks 13.0.0+0 creativeonepunch: Creative One-Punch 1.2 croptopia: Croptopia 1.6.1 crowdin-translate: CrowdinTranslate 1.3+1.17 customportalapi: Custom Portal Api 0.0.1-beta39-1.17 customportals: Custom Portals 2.1.0 dankstorage: Dank Storage 2.1-1.17.1 dml-refabricated: Deep Mob Learning: Refabricated 0.4.4-beta dml-refabricated-base: DML: Refabricated - Base 0.4.4-beta dml-refabricated-events: DML: Refabricated - Vanilla Events 0.4.4-beta dml-refabricated-modular-armor: DML: Refabricated - Glitch Armor 0.4.4-beta dml-refabricated-rei: DML: Refabricated - REI Integration 0.4.4-beta doom: Doom Fabric 4.0.3 dual_riders: DualRiders 1.0.5 eldritch_mobs: Eldritch Mobs 1.9.2 emagnet: E Magnet 1.2.3 enchant_giver: Enchant Giver 1.1.0 expandedstorage: Expanded Storage 7.0.0 explorerscompass: Explorer's Compass 1.17.1-2.0.1-fabric fabric: Fabric API 0.37.2+1.17 fabric-api-base: Fabric API Base 0.3.0+a02b446313 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.2.0+2b5c62d018 fabric-biome-api-v1: Fabric Biome API (v1) 3.1.11+c345aea818 fabric-command-api-v1: Fabric Command API (v1) 1.1.3+5ab9934c18 fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18 fabric-containers-v0: Fabric Containers (v0) 0.1.12+a02b446318 fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.4+2e8bd82f18 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718 fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+a02b446318 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.9+a722d8c018 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+6cefd57718 fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b446318 fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118 fabric-language-kotlin: Fabric Language Kotlin 1.6.3+kotlin.1.5.21 fabric-language-scala: Fabric Language Scala 1.1.0+scala.2.13.6 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b446318 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318 fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18 fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+2e8bd82f18 fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318 fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa13 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab612118 fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318 fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318 fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee18 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446318 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+a00e834b18 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+a02b446318 fabric-structure-api-v1: Fabric Structure API (v1) 1.1.13+5ab9934c18 fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.4+a02b446318 fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612118 fabric-transfer-api-v1: Fabric Transfer API (v1) 1.0.0+3fe3c3f518 fabricenchantments: Fabric Enchantments 0.4.2 fabricloader: Fabric Loader 0.11.6 fallflyinglib: FallFlyingLib 3.0.0-beta.2 fallingtree: FallingTree 2.12.1 fasttransferlib: Fast Transfer Lib 0.5.5 fdlink: Fabric <-> Discord Link 0.9.6 fdlink_1_12_2: Fabric <-> Discord Link 0.9.6 fdlink_1_15_2: Fabric <-> Discord Link 0.9.6 fdlink_1_16: Fabric <-> Discord Link 0.9.6 fdlink_1_7_10: Fabric <-> Discord Link 0.9.6 fdlink_1_8_9: Fabric <-> Discord Link 0.9.6 fdlink_api: Fabric <-> Discord Link API 0.1.0 fdlink_common: Fabric <-> Discord Link 0.9.6 ferritecore: FerriteCore 3.0.1 fiber: fiber 0.23.0-2 flan: Flan 1.17.1-1.6.1 flytre_lib: FlytreLib 0.2.21 food_highlight: FoodHighlight 1.0.1 gamemodeoverhaul: GamemodeOverhaul 1.1.0 geckolib3: Geckolib 3.0.12 gobber2: Gobber2 2.4.38 hctm-base: HCTM Base 3.6.2 healthcare: Health Care 1.0.7 heartbond: Heartbond 1.1.0 hologram-api: Hologram API 0.2.1+1.17.1 hookshot: Hookshot 18.0 horseinfo: Horse Info 0.3.0-1.17 htm: Hey That's Mine 1.1.3 impersonate: Impersonate 2.3.3 incantationem: Incantationem 1.1.2+1.17.1 invview: InvView 1.4.6-1.17.1+ io_leangen_geantyref_geantyref: geantyref 1.3.11 jankson: Jankson 3.0.1+j1.2.0 java: OpenJDK 64-Bit Server VM 16 kanos_config: Kanos Config 0.1.4+1.14.4-1.17.1 kibe: Kibe 1.8.1-BETA+1.17 krypton: Krypton 0.1.4 ktdatataglib: KtDataTagLib 1.5.4 kubejs: KubeJS 1605.3.10-build.9999 kyrptconfig: Kytpt Config 1.1.10-1.17 lapisreserve: Lapis Reserve 1.0.8 ledger: Ledger 1.0.2 libblockattributes: LibBlockAttributes 0.8.17003 libblockattributes_core: LibBlockAttributes (Core) 0.8.17003 libblockattributes_fluids: LibBlockAttributes (Fluids) 0.8.17003 libblockattributes_items: LibBlockAttributes (Items) 0.8.17003 libcd: LibCapableData 3.0.3+1.16.3 libgui: LibGui 4.1.6+1.17.1 libninepatch: LibNinePatch 1.1.0 libra: Libra 0.3.9.2 lithium: Lithium 0.7.3 maelstrom_library: Maelstrom Library 1.2.1-1.17 magick: Magick: Potions and Pearls 1.0.5 mcda: MC Dungeons Armors 1.7.6 mcdw: MC Dungeons Weapons 3.4.1 megane: megane 5.2.0 megane-base: megane-base 5.2.0 megane-fabric-transfer: megane-fabric-transfer 5.2.0+1.0.0-3fe3c3f518 megane-fast-transfer-lib: megane-fast-transfer-lib 5.2.0+0.4.2 megane-kibe: megane-kibe 5.2.0+1.7.2-BETA-1.17 megane-lib-block-attributes: megane-lib-block-attributes 5.2.0+0.9.0 megane-runtime: megane-runtime 5.2.0 megane-team-reborn-energy: megane-team-reborn-energy 5.2.0+0.1.1 megane-tech-reborn: megane-tech-reborn 5.2.0+5.0.2-beta-build.38 megane-vanilla: megane-vanilla 5.2.0+1.17.1 megane-wireless-networks: megane-wireless-networks 5.2.0+1.1.1 minecraft: Minecraft 1.17.1 minimotd-fabric: MiniMOTD 2.0.4 mining_dims: Mining Dimensions 1.1.11 mm: Manningham Mills 2.2 morevillagers-fabric: MoreVillagersFabric 2.0.4-SNAPSHOT mostructures: Mo' Structures 1.3.0-pre1-1.17.1 multipart_entities: MultipartEntities 1.1.2-1.17 namecommand: Name Command 1.1.0 naturescompass: Nature's Compass 1.17.1-2.0.1-fabric nbtcrafting: NBT Crafting 2.0.16+mc1.17 net_dv8tion_jda: JDA 4.2.1_266 net_kyori_adventure-api: adventure-api 4.8.1 net_kyori_adventure-key: adventure-key 4.8.1 net_kyori_adventure-platform-api: adventure-platform-api 4.0.0-SNAPSHOT net_kyori_adventure-serializer-configurate4: adventure-serializer-configurate4 4.8.1 net_kyori_adventure-text-feature-pagination: adventure-text-feature-pagination 4.0.0-SNAPSHOT net_kyori_adventure-text-minimessage: adventure-text-minimessage 4.2.0-SNAPSHOT net_kyori_adventure-text-serializer-gson: adventure-text-serializer-gson 4.8.1 net_kyori_adventure-text-serializer-legacy: adventure-text-serializer-legacy 4.8.1 net_kyori_adventure-text-serializer-plain: adventure-text-serializer-plain 4.8.1 net_kyori_examination-api: examination-api 1.1.0 net_kyori_examination-string: examination-string 1.1.0 net_sf_trove4j_trove4j: trove4j 3.0.3 notenoughcrashes: Not Enough Crashes 3.3.1+1.17 nyfsquivers: Nyf's Quivers Fabric-0.2.6 omega-config: OmegaConfig 1.0.8 org_apache_commons_commons-collections4: commons-collections4 4.1 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.5.21 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.5.21 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.5.21 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.5.21 org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.5.1 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.5.1 org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.2.2 org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.2.2 org_json_json: json 20210307 org_objenesis_objenesis: objenesis 3.2 org_slf4j_slf4j-api: slf4j-api 1.7.25 org_slf4j_slf4j-nop: slf4j-nop 1.7.25 org_spongepowered_configurate-core: configurate-core 4.1.1 org_spongepowered_configurate-hocon: configurate-hocon 4.1.1 origins: Origins 1.0.3 origins-classes: Origins: Classes 1.2.2 outvoted: Outvoted 2.0.0-alpha.12 packet_tweaker: Packet Tweaker 0.2.0-1.17-pre1 patchouli: Patchouli 1.17-54-FABRIC pehkui: Pehkui 2.3.0+1.14.4-1.17.1 placeholder-api: Placeholder API 1.1.0+1.17.1 plantinajar: Plant In A Jar 2.2.2 playerabilitylib: Pal 1.3.0 polymer: Polymer 0.1.0-rc.4+1.17.1 pugh_lib: Pugh Lib ${version} pugh_tools: Pugh Tools ${version} qcommon-cfg-core: qcommon-cfg-core 3.3.0 qcommon-croco: Croco 2.1.1 quarryplus: QuarryPlus 17.0.347 quickshulker: Quick Shulker 1.2.2-1.17 ratsmischief: Rat's Mischief 1.2 reach-entity-attributes: Reach Entity Attributes 2.1.1 reborncore: Reborn Core 5.0.6-beta+build.94 redbits: Red Bits 1.10.0 repurposed_structures: Repurposed Structures 2.3.0+1.17.1 resourceful_tools: Resourceful Tools 1.1.19 rhino: Rhino 1605.1.2-build.40 rpgstats: RPGStats 4.1.8+1.17.1 rswires: RSWires 4.11.2 rug: Rug 1.17.1-1.1.13 schmucks: Schmucks 1.4.0 server_translations_api: Server Translations API 1.4.5+1.17 servertick: Server Tick 1.5 sgui: SGui 1.0.0-rc4+1.17.1 shulkerboxtooltip: Shulker Box Tooltip 3.0.1+1.17 shulkerutils: shulkerutils 1.0.4-1.17 simple_backpack: SimpleBackpack 1.1.18 someforgepatchesported: Some Forge Patches Ported 1.0.1 somnus: Somnus API 0.0.12-1.17 step-height-entity-attribute: Step Height Entity Attribute 1.0.0 stoneholm: Stoneholm 1.3 tabtps-fabric: TabTPS 1.3.9 team_reborn_energy: Energy 0.1.1 techreborn: Tech Reborn 5.0.6-beta+build.94 terraform-wood-api-v1: Terraform Wood API (v1) 2.0.2 things: Things 0.2.3 toms_storage: Tom's Simple Storage Mod 1.1.13-1.17.1 torcherino: Torcherino 15.1.0-alpha.3 trinkets: Trinkets 3.0.2 universal-graves: Universal Graves 1.0.8+1.17.1 voidtotem: Void Totem (Fabric) 1.17.0-1.0.0 voidz: VoidZ 1.0.5 ward_blocks: Ward Blocks 1.1.7 waystones: Waystones 2.0.3 whereisit: Where Is It 1.13.3 winged: Winged Mod 1.17.1-3.0.0 wirelessnetworks: Wireless Networks 1.1.2 wthit: wthit 3.8.1 xaerominimap: Xaero's Minimap 21.15.1 xaeroworldmap: Xaero's World Map 1.16.1 yungsapi: YUNG's API 1.17-Fabric-15 Player Count: 2 / 15; [class_3222['supercatnap'/426, l='ServerLevel[world]', x=-310.66, y=71.00, z=1073.25], class_3222['DaddyDanked'/427, l='ServerLevel[world]', x=0.50, y=75.00, z=0.50]] Data Packs: vanilla, Fabric Mods, file/Repurposed_Structures-Charm.zip, file/RugData (incompatible), file/01-terralith, file/03-incendium-v3-4-1a.zip Is Modded: Definitely; Server brand changed to 'fabric' Type: Dedicated Server (map_server.txt) Suspected Mods: Better End (betterend)

paulevsGitch commented 3 years ago

Hi, this report means that dimensionType is null, this shouldn't happen in game, probably one of your mods overrides dimension type to null or have incorrect mixin. Can you please try to find this mod?

itsdinkd commented 3 years ago

Hi, this report means that dimensionType is null, this shouldn't happen in game, probably one of your mods overrides dimension type to null or have incorrect mixin. Can you please try to find this mod?

Hmm... I have no mods that are changing dimensions. I cannot really pinpoint to the T as I have 140+ mods but it has been working ever since the last update. I restarted my world and changed the seed about 4 days ago but I haven';t been back to the end since (and this is when I updated the mod as well) so I have no idea if it was working since updating to this new update.

Does changing the seed affect anything? I have also a end portal set up from the last overworld that's still in portals.json, would this affect anything?

No mods that I have added since last I visited the end changes dimension settings. Is there anything in level.dat that might be the culprit?

these are the mods I have added since last update of BetterEnd. Ignore starlight and c2me, I have disabled these to test the crashing, they are not the culprit as it crashes still with them off

image

paulevsGitch commented 3 years ago

but it has been working ever since the last update

Old update was incompatible with World Blender, and this check was added to prevent it

Does changing the seed affect anything?

Only world generation

Please use Pastebin for logs or other alternatives, it is really hard to read walls of text

itsdinkd commented 3 years ago

Only world generation

I apologize. https://pastebin.com/sU03nWgQ

I uploaded a image in the last reply displaying the mods I've added since I updated The End. Starlight and C2ME are in there but I have disabled them as I was crashing with those two off and on when I went to the end. I deleted DIM1 on every test.

itsdinkd commented 3 years ago

Is there anything I can do on my end to get this to work or does this depend on an update from your end?

paulevsGitch commented 3 years ago

You can try to find conflicting mod and report to its authors - I will fix issue on my side, but there will be other mods (and vanilla itself), so this bug is important.

The mod can be not related to dimension, it just changes dimension type wrong. You can try disable mods one by one in test world and see when the error is gone. As it happens in BlockFixer you can test it directly in biome which are used by it - Foggy Mushroomland, for example

itsdinkd commented 3 years ago

I see. Is there any mod type you can direct me towards? maybe something like World Generation? Biome adding? Entity type? (just examples) I have 140 mods so doing the one by one would take forever, especially being on a dedicated server.

would it be possible that a mod that adds dimensions (the space adventure dimension mod) would change dimension type?

itsdinkd commented 3 years ago

So i just ran this in single player and was able to teleport to the end, no crash, everything worked as it should have. so it's only happening on my dedicated server it seems.

itsdinkd commented 3 years ago

OH was it because I killed the dragon and then deleted DIM1, changed the seed in level.dat, and then set the dragon value in level.dat to 0 (being alive) could this cause the dimension = null?

Edit: This was the issue. I created a new single player world and copied over the level.dat settings from that into my server and now I am able to go to The End.

--

This was what it was before

image

and now it looks like this

image

paulevsGitch commented 3 years ago

Ok, so if vanilla have wrong data - dimension can be null, check still should be added, but not in high priority