[Bug] Schematicannon tries to place air when trying to place multistate copycat blocks
Tera458 opened this issue ยท 3 comments
Describe the bug
When making a schematic containing copycat blocks allowing multistate and putting it in a schematicannon, a majority of those copycat blocks will cause the schematicannon to say it requires air. I only managed to pinpoint it to bytes and half layers, wether they are full with the same materials, made out of different materials, same material of different orientations, or not full, as well as double slabs made out the same materials, made out of different materials but one has a different orientation, or same materials but different orientations.
To Reproduce
Steps to reproduce the behavior:
- Place copycat blocks which allow multistates
- Create a schematic with them inside
- Place the schematic in a schematicannon and provide the needed materials, make sure skip missing blocks isnt selected
- Schematicannon will be stuck trying to place air
- If missing blocks are skipped, most multistates copycat blocks will not have been placed
Expected behavior
The schematicannon shouldnt interpret those blocks as air.
Desktop (please complete the following information):
- 1.20.1
- Fabric
- 2.1.2 (Create Fabric 0.5.1)
Additional context
My only guess of the cause would be some kind of character limit for the blockstates.
Creative mode direct placement works flawlessly, and material checklists list the materials accurately
I haven't investigated it in detail but my guess is that the getRequiredItems
method is buggy and lists air as a requirement for unfilled parts of a multi-state.
Our server is currently experiencing this issue as well (same Minecraft/Fabric mod versions).
This has been fixed in e103528