Draylar / battle-towers

Populates the world with large towers filled with monsters and loot.
https://www.curseforge.com/minecraft/mc-mods/draylars-battle-towers
MIT License
7 stars 8 forks source link

Crash loading towers in snowy tundra #32

Closed Zano1999 closed 3 years ago

Zano1999 commented 4 years ago

It crash when it generates a tower in a snowy tundra.

Crash report: https://pastebin.com/SagUeWtn Last log: https://pastebin.com/CM7b5vKT

James103 commented 3 years ago

The Pastebin links you posted are about to expire.

Here is the crash report ``` ---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 2020-11-25 18:28:52 CET Description: Feature placement java.lang.ClassCastException: net.minecraft.class_2595 cannot be cast to draylar.battletowers.entity.block.ContentDeployerBlockEntity at Not Enough Crashes deobfuscated stack trace.(1.16.4+build.7) at robosky.structurehelpers.structure.pool.ExtendedSinglePoolElement.handler$bld000$placeContentDeployer(ExtendedSinglePoolElement.java:553) at robosky.structurehelpers.structure.pool.ExtendedSinglePoolElement.generate(ExtendedSinglePoolElement.java:114) at net.minecraft.structure.PoolStructurePiece.method_27236(PoolStructurePiece:83) at net.minecraft.structure.PoolStructurePiece.generate(PoolStructurePiece:79) at net.minecraft.structure.StructureStart.generateStructure(StructureStart:76) at net.minecraft.world.biome.Biome.method_28401(Biome:356) at net.minecraft.class_1959$$Lambda$6276/867629769.accept(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at it.unimi.dsi.fastutil.longs.LongIterator$$Lambda$6267/1478913890.accept(Unknown Source) at java.util.PrimitiveIterator$OfLong.forEachRemaining(PrimitiveIterator.java:189) at it.unimi.dsi.fastutil.longs.LongIterator.forEachRemaining(LongIterator.java:53) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at net.minecraft.world.biome.Biome.generateFeatureStep(Biome:355) at net.minecraft.world.gen.chunk.ChunkGenerator.generateFeatures(ChunkGenerator:220) at net.minecraft.world.chunk.ChunkStatus.method_12151(ChunkStatus:89) at net.minecraft.class_2806$$Lambda$1944/67245874.doWork(Unknown Source) at net.minecraft.world.chunk.ChunkStatus.runGenerationTask(ChunkStatus:219) at net.minecraft.server.world.ThreadedAnvilChunkStorage.lambda$null$18(ThreadedAnvilChunkStorage:675) at net.minecraft.class_3898$$Lambda$6126/1599662937.apply(Unknown Source) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at net.minecraft.server.world.ThreadedAnvilChunkStorage.lambda$chunkGenerate$20(ThreadedAnvilChunkStorage:673) at net.minecraft.class_3898$$Lambda$6123/1512764625.apply(Unknown Source) at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952) at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at net.minecraft.server.world.ChunkTaskPrioritySystem.method_17634(ChunkTaskPrioritySystem:58) at net.minecraft.class_3900$$Lambda$6087/1432083132.run(Unknown Source) at net.minecraft.util.thread.TaskExecutor.runNext(TaskExecutor:94) at net.minecraft.util.thread.TaskExecutor.runWhile(TaskExecutor:137) at net.minecraft.util.thread.TaskExecutor.run(TaskExecutor:105) at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Feature -- Id: battletowers:battletower Description: draylar.battletowers.world.BattleTowerStructure@214e42a1 -- Generation -- CenterX: 934 CenterZ: 164 Seed: -6829358304031191289 Biome: net.minecraft.class_1959@1eb742b3 -- Chunk to be generated -- Location: 934,164 Position hash: 704374637478 Generator: net.minecraft.class_3754@5932330c -- Affected level -- All players: 1 total; [class_3222['Zano1999'/58, l='ServerLevel[test]', x=15109.60, y=110.13, z=2528.64]] Chunk stats: ServerChunkCache: 3818 Level dimension: minecraft:overworld Level spawn location: World: (-16,77,112), Chunk: (at 0,4,0 in -1,7; contains blocks -16,0,112 to -1,255,127), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 8627 game time, 8627 day time Level name: test Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Level weather: Rain time: 106586 (now: false), thunder time: 55563 (now: false) Known server brands: fabric Level was modded: true Level storage version: 0x04ABD - Anvil -- System Details -- Minecraft Version: 1.16.4 Minecraft Version ID: 1.16.4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1196874688 bytes (1141 MB) / 2952790016 bytes (2816 MB) up to 4294967296 bytes (4096 MB) CPUs: 4 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Suspected Mods: Structure Helpers (structure-helpers) Fabric Mods: allure: Allure 1.2.7 alwaysdroploot: Always Drop Loot 4.0.0+mc1.15.2 angerable-patch: Angerable Patch 1.0.0-1.16.1 autoconfig1u: Auto Config v1 Updated 3.3.1 autofish: Autofish 0.9.0 backpackmod: Backpack Mod 1.16.3-1.2.2 battletowers: Battle Towers 3.2.0-beta-1.16.4 bedrockify: BedrockIfy 0.2.0 bettergraves: Better Graves 0.4.1 bettermineshafts: YUNG's Better Mineshafts 1.16.4-1.0 biomemakeover: Biome Makeover 1.16.4-1.1.5 caelus: Caelus API 0.0.9-1.16.3 cardinal-components: Cardinal Components API 2.7.2 cardinal-components-base: Cardinal Components API (base) 2.7.2 cardinal-components-block: Cardinal Components API (blocks) 2.7.2 cardinal-components-chunk: Cardinal Components API (chunks) 2.7.2 cardinal-components-entity: Cardinal Components API (entities) 2.7.2 cardinal-components-item: Cardinal Components API (items) 2.7.2 cardinal-components-level: Cardinal Components API (world saves) 2.7.2 cardinal-components-scoreboard: Cardinal Components API (scoreboard) 2.7.2 cardinal-components-util: Cardinal Components API (utilities) 2.7.2 cardinal-components-world: Cardinal Components API (worlds) 2.7.2 carrier: Carrier 1.5.0 cavebiomes: Cave Biomes 0.5.1 cleancut: CleanCut mc1.16-2.1-fabric clickthrough: ClickThrough 1.16.4-fabric0.25.1-0.3 cloth-api: Cloth API 1.4.8 cloth-armor-api-v1: Cloth Armor API v1 1.4.8 cloth-basic-math: Cloth Basic Math 0.5.1 cloth-client-events-v0: Cloth Client Events v0 1.4.8 cloth-common-events-v1: Cloth Common Events v1 1.4.8 cloth-config2: Cloth Config v4 4.8.3 cloth-datagen-api-v1: Cloth Datagen v1 1.4.8 cloth-durability-bar-api-v1: Cloth Durability Bar API v1 1.4.8 cloth-dynamic-registry-api-v1: Cloth Dynamic Registry API v1 1.4.8 cloth-scissors-api-v1: Cloth Scissors API v1 1.4.8 cloth-utils-v1: Cloth Utils v1 1.4.8 com_oneandone_composite-jks: composite-jks 1.0 com_typesafe_config: config 1.4.0 cotton: Cotton 1.1.0 cotton-cauldron: Cotton Cauldron 1.1.0 cotton-commons: Cotton Commons 1.0.4 cotton-config: Cotton Config 1.0.0-rc.7 cotton-datapack: Cotton Datapack 1.0.7 cotton-logging: Cotton Logging 1.0.0-rc.4 cotton-player-events: Cotton Player Events 1.0.2 crawl: Crawl 0.7.3 crowdin-translate: CrowdinTranslate 1.2 curioofundying: Curio of Undying 1.1.0-1.16.3 curios: Curios API 0.0.10-1.16.3 curiouselytra: Curious Elytra 1.1.0-1.16.3 curiousshulkerboxes: Curious Shulker Boxes 1.1.0-1.16.3 cursed_table: Cursed table 1.1.0 customskinloader: CustomSkinLoader 14.13-SNAPSHOT-182 darkness: True Darkness 1.6.47 durabilityviewer: Giselbaers Durability Viewer 1.16.2-fabric0.17.2-1.8.7 easiervillagertrading: EasierVillagerTrading 1.16.2-fabric0.17.2-1.5.3 edit_sign: Edit Sign 2.1.3 fabric: Fabric API 0.25.1+build.416-1.16 fabric-api-base: Fabric API Base 0.2.0+9f0fb4b83a fabric-biome-api-v1: Fabric Biome API (v1) 3.0.0+8367596d3a fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+c6a8ea893a fabric-command-api-v1: Fabric Command API (v1) 1.0.9+a4467d2a3a fabric-commands-v0: Fabric Commands (v0) 0.2.0+52d308363a fabric-containers-v0: Fabric Containers (v0) 0.1.8+045df74f3a fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.9+059ea8663a fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d3a fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.1+f8ac1db23a fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+16acbe5b3a fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.3+a4467d2a3a fabric-item-api-v1: Fabric Item API (v1) 1.2.0+f8ac1db23a fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.1+a4467d2a3a fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.1+730711c63a fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+3fa9f7c53a fabric-language-kotlin: Fabric Language Kotlin 1.4.0+build.1 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.0+74cc3b203a fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.1+432ea1883a fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+b764ce993a fabric-models-v0: Fabric Models (v0) 0.1.1+f8ac1db23a fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+b50ffc7b3a fabric-networking-v0: Fabric Networking (v0) 0.1.10+e00ecb5fa7 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.2+a89534ab3a fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.1+a4467d2a3a fabric-particles-v1: fabric-particles-v1 0.2.2+fb0d9b0e3a fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.6.1+a4467d2a3a fabric-renderer-api-v1: Fabric Renderer API (v1) 0.3.3+a4467d2a3a fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.3+a4467d2a3a fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.2.0+f8ac1db23a fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.4+f8ac1db23a fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.12+f8ac1db23a fabric-rendering-v0: Fabric Rendering (v0) 1.1.1+f8ac1db23a fabric-rendering-v1: Fabric Rendering (v1) 1.3.1+f8ac1db23a fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.3.1+facf3bbf3a fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+872498413a fabric-structure-api-v1: Fabric Structure API (v1) 1.1.0+f8ac1db23a fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.0.3+ac8e8c593a fabric-textures-v0: Fabric Textures (v0) 1.0.5+a4467d2a3a fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.4+2b4623793a fabrication: Fabrication 1.2.2_01 fabricloader: Fabric Loader 0.10.6+build.214 fairenchanting: FairEnchanting 1.2.0 falling_tree: FallingTree 2.5.1 fallingleaves: Falling Leaves 1.2 gbfabrictools: GBfabrictools 1.3.1+1.16.4 gentlefawn: GentleFawn 1.1.1-MC1.16.3-fabric grabcraft-downloader: GrabcraftLitematic 1.16.4-fabric0.25.1-0.3 grindenchantments: Grind Enchantments 1.1.3+1.16.3 horsestatsvanilla: Horse Stats Vanilla 4.1.3 illuminations: Illuminations 1.1 improved-stations: Improved Stations 2.0.3 infinitevillagertrading: InfiniteVillagerTrading 1.16.2-fabric0.17.2-1.1 inventoryprofiles: Inventory Profiles 0.4.2 invview: InvView 1.16.2-1.0.1 jankson: Jankson 3.0.1+j1.2.0 lapisreserve: Lapis Reserve 1.0.6 libcd: LibCapableData 3.0.2+1.16.2 libgui: LibGui 3.0.0-beta.1+1.16.2-rc2 library_of_exile: Library of Exile 1.0.6 libstructure: LibStructure 1.5 litematica: Litematica 0.0.0-dev.20201103.184101 loadcatcher: Entrypoint Catcher 2.0.0 maelstrom_library: Maelstrom Library 0.4.1 magna: Magna 1.4.2-1.16.2 malilib: MaLiLib 0.10.0-dev.21+arne.1 maptooltip: Map Tooltip 1.1 midnight-hats: Midnight Hats 2.0.1 minecraft: Minecraft 1.16.4 miniextras: Mini Extras Mod 1.1.2 minimaltweaks: Minimal Tweaks 1.0.2 mm: Manningham Mills 2.1 mobs_attempt_parkour: Mobs Attempt Parkour 0.2.1-1.16.3 modmenu: Mod Menu 1.14.6+build.31 mostructures: Mo' Structures 1.0.0-pre3+mc.1.16.2 nbtcrafting: NBT Crafting 2.0.1+mc1.16.4 nenchantfix: Nile Enchantment Fix 3.0.0 noexpensive: NoExpensive 1.16.3-Fabric-1.1.4 notenoughcrashes: Not Enough Crashes 2.1.4+1.16.4 optifabric: OptiFabric 1.8.10 org_jetbrains_annotations: annotations 20.0.0 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.4.0 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.4.0 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.4.0 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.4.0 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.3.9 portaltags: Portal Tags 2.0.0+1.16.2 rare-ice: Rare Ice 0.2.2 repairableanvils: Repairable Anvils 0.0.2 repurposed_structures: Repurposed Structures 1.16.4-1.7.0 reroll: Reroll 1.0.2-1.16.2 right-click-clear: Right Click Clear 2.0.2 rocks: This Rocks! 1.2.1 roughlyenoughitems: Roughly Enough Items 5.8.7 roughlyenoughitems-api: REI (API) 5.8.7 roughlyenoughitems-default-plugin: REI (Default Plugin) 5.8.7 roughlyenoughitems-runtime: REI (Runtime) 5.8.7 shuffle: Shuffle 1.3.0 shulkerboxtooltip: Shulker Box Tooltip 2.3.1+1.16.3 simplysulfur: Simply Sulfur 0.1.0 slightlyvanilla: SlightlyVanilla 1.0.10+1.16.2 smoothboot: Smooth Boot 1.1.0 stackablepotions: Stackable Potions 1.0.0 static-content: Static Content 1.0.1-1.16.2 staticdata: Static Data 1.1.2 statushud: StatusHud 1.1.0 structure-helpers: Structure Helpers 3.0.0 suitablystackablestew: Suitably Stackable Stew 1.1.1 tinytweaks: TinyTweaks 1.0.13 torohealth: ToroHealth Damage Indicators 1.16.3-fabric-1 totemplus: Totem Plus 1.0.0 tridentfixer: Repairable Tridents 1.0.0 vanilla-hammers: Vanilla Hammers 2.0.8-1.16.2 vanillaexcavators: Vanilla Excavators 1.1.0 verticalslabs: Vertical Slabs 1.3.0 voyager: Voyager 1.0.0 worldedit: WorldEdit 7.2.0-beta-05+20b3da4 xaerominimap: Xaero's Minimap 20.27.2 xaeroworldmap: Xaero's World Map 1.11.0 xpstorage: XP Storage 1.1+1.16.3 yungsapi: YUNG's API 1.16.4-Fabric-1 Player Count: 1 / 8; [class_3222['Zano1999'/58, l='ServerLevel[test]', x=15109.60, y=110.13, z=2528.64]] Data Packs: vanilla (incompatible), fabric/verticalslabs, fabric/curiousshulkerboxes, fabric/improved-stations, fabric/repurposed_structures, fabric/gentlefawn, fabric/fabric-tool-attribute-api-v1, fabric/battletowers, fabric/rare-ice (incompatible), fabric/structure-helpers, fabric/mostructures, fabric/backpackmod, fabric/curios, fabric/alwaysdroploot, fabric/curiouselytra, fabric/bedrockify, fabric/libcd, fabric/biomemakeover, fabric/vanilla-hammers, fabric/cavebiomes, fabric/vanillaexcavators, fabric/allure, fabric/slightlyvanilla, fabric/tinytweaks, fabric/curioofundying, fabric/minimaltweaks, fabric/simplysulfur, fabric/xpstorage, fabric/cotton-commons, fabric/miniextras, fabric/rocks, fabric/carrier, global/cotton_generated Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fabric' -- OptiFabric -- OptiFine jar designed for: 1.16.4 OptiFine jar version: OptiFine_1.16.4_HD_U_G5 OptiFine jar status: Valid OptiFine installer OptiFine remapped jar: C:\Users\Nicolas\AppData\Roaming\.minecraft\.optifine\OptiFine_1.16.4_HD_U_G5\Optifine-mapped.jar OptiFabric error: ```

The latest.log file has been zipped due to requiring confirmation to be viewed in Pastebin. latest.zip

Draylar commented 3 years ago

Fixed in 3.2.1-beta, thanks for the report!