Create on 1.20.1 Fabric breaks entity randomization in YUNG's Better structures
yungnickyoung opened this issue · 1 comments
Describe the Bug
My structure mods such as YUNG's Better Strongholds, YUNG's Better Desert Temples, and YUNG's Better Fortresses include item frames and armor stands that receive processing during structure placement to randomize their contents. This randomization system is enabled by a couple of mixins on YUNG's API: https://github.com/YUNG-GANG/YUNGs-API/blob/1.20/Fabric/src/main/java/com/yungnickyoung/minecraft/yungsapi/mixin/EntityProcessorMixin.java
When using Create Fabric, the item frames do not get randomized, meaning their respective StructureEntityProcessors never get executed. As a result, all item frames will contain their placeholder items. Similarly, armor stands will all be the same, only containing their placeholder armor.
Reproduction Steps
- Install the mods. To reproduce this I used Create 1.20.1 v0.5.1.d, YUNG's Better Strongholds v4.0.3, YUNG's Better Desert Temples v3.0.3, YUNG's Better Nether Fortresses v2.0.5, and YUNG's API v4.0.4. I believe the only relevant mods here are Create and YUNG's API though, since YUNG's API is what creates my structure entity processing system.
- Locate one of my structures, e.g.
/locate structure betterstrongholds:betterstronghold
- Search for item frames and/or armor stands in the structure. In the case of strongholds, you will see that all item frames and armor stands within a room contain the same item.
Expected Result
I expect the entities to be properly randomized and not all have the same thing.
Screenshots and Videos
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
Necessary dependencies. fabric-api-0.89.0+1.20.1 and cloth-config-11.1.106-fabric
Additional Context
No response