Structure causing Crash?

Started by theofficialydb on

Topic category: Troubleshooting, bugs, and solutions

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Structure causing Crash?
Mon, 12/09/2024 - 01:20 (edited)

Hello, ive encountered a crash when creating a new world and i can only recreate it by adding my custom structure into my mod. ive searched the forums for this error but only found one post talking about it and it was solved without clarifying how or why it occurred in the first place. I'm quite new to MCreator, have only started using MCreator sometime last month, but every other Error or issue ive encountered ive managed to fix or find information about, except this one. So to run you through it, in Minecraft i created a structure using the Structure block, The size of the structure is (x38, y24, z38) And some custom blocks & elements i added inside the structure are: Mob spawners with Custom mob inside, Custom Fluid falling from Roof, A Custom Entity in the Middle of the Structure (Needed to spawn Boss Entity), And Chests that i filled with my own Loot Table. Originally i thought it was the chests that caused this error, Since the error itself is claiming that it failed to load registries and i didn't have problems creating structures before. But i went back into Creative, Opened each chest (so they wouldn't randomly generate with that loot table) Then deleted the Loot Table & Recreated the Structure, but still the same error.. Here are the settings i used when creating the structure : "Biomes to generate structure in: My custom biome", "Structure Chunk Distribution: 500, 500,00", "Generation stage: UNDERGROUND_STRUCTURES", "Type of reference ground detection: WORLD_SURFACE_WG", "Start height of min: -64, max: -16", Terrain Adaption type: "bury", "projection to the terrain: rigid", And structure to generate my Custom structure ofc. Another thing i tried is clearing the Gradle cache and also tried Build Workspace once, I didn't try Regenerate Code and Build however because last time i did that it broke a few of my Procedures that i had to rewrite... And yes, testing without the Structure doesn't cause this crash and error. Anyways, If anyone has the solution or could help i would greatly appreciate it!!

Here is the Crashlog: 

https://pastebin.com/SwWynMYQ

Edited by theofficialydb on Mon, 12/09/2024 - 01:20
Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I still can't get…
Mon, 12/09/2024 - 02:38

Update: I still can't get the structure element to work, but if i spawn the NBT Structure using a procedure, it works! Only issue is I want to specify the Biome for it to spawn in, not just in a random direction from the spawn. also a weird glitch happens where the Entire Room is Lit and has no shadows when entering the room at first, Then when I respawn the lighting is normal?