Crates compat with Create moving contraptions
Opened this issue ยท 3 comments
General Information
Describe the bug:
Druidcraft crates are attached to Create contraptions successfully, but breaking/stopping said contraption ends on a FATAL error. The game does not crash, but the crate, and some of the blocks it is attached to, disappears.
I have not found any other modded chest like block triggering such error on create so far. So this should probably be related to druidcraft's crates complicated multiblock behavior.
To Reproduce:
- Install Create + Druidcraft
- Create a moving contraption (example: cart assembler + linear chassis)
- Attached a crate to it using slime
- Run a cart through it
- Stop the contraption and break the minecart
Expected behavior:
As the contraption stops, the crate should be recreated on it's "static" form (with its possible changed inventory due to create fancy interactions).
Environment Versions
Druidcraft-1.16.5-0.4.52
create-mc1.16.3_v0.3e
Mystic Mods Versions
- None
Other Versions:
- Conflicting mod (if regarding mod integration): Create
- Other mods you think could cause issues: Create
- Forge: 36.0.1
- Minecraft: 1.16.5
- Modpack (if available): Custom modpack with [ Druidcraft + Create ] on Multimc (Debian)
Logging Information
Please Use gist, paste.ee, pastebin or some other log sharing service
Crash Report (if available):
Latest Log (if necessary):
Additional Information
Additional context (optional):
I have seen others block with inventory not being able to be attached to create chassis, so at worst if it comes down to an unsolvable conflict due to the crate's multiblock fanciness, the crate should at least not be an acceptable piece on the contraption (example: mekanism personal chest or bin).
Yes i am aware. This has been a bug since Create 0.2.4 since we increased the compat for inventories. A (temporary) fix for you would be tagging crates as create:immovable
(block tag). That is until we either implement the tag from Create side, Druidcraft implements that tag, or we get an actual fix in code done. Can confirm, this indeed happens and is 100% reproduceable.
@LordGrimmauld Thanks for the update on this, I'll look into doing that. Although the crash that it does cause shouldn't happen from our end because it's assuming that the blockstate is the crate blockstate when it isn't, and that's invalid logic. That's something I'd like to fix separately.
@noobanidus Hi. It's not exactly a duplicate, I don't even have Create in my pack, it's just Druidcraft's crate and vanilla pistons. But I guess underlying problem is the same, so, ok.