Structure Module
See original GitHub issueSomewhere between 20w20a & 20w22a, structures are now likely hardcoded in many places.
Here is a field in class 5311
field_24822 = ImmutableMap.builder().put(StructureFeature.VILLAGE, new class_5314(32, 8, 10387312)).put(StructureFeature.DESERT_PYRAMID, new class_5314(32, 8, 14357617)).put(StructureFeature.IGLOO, new class_5314(32, 8, 14357618)).put(StructureFeature.JUNGLE_PYRAMID, new class_5314(32, 8, 14357619)).put(StructureFeature.field_24851, new class_5314(32, 8, 14357620)).put(StructureFeature.PILLAGER_OUTPOST, new class_5314(32, 8, 165745296)).put(StructureFeature.STRONGHOLD, new class_5314(1, 0, 0)).put(StructureFeature.MONUMENT, new class_5314(32, 5, 10387313)).put(StructureFeature.END_CITY, new class_5314(20, 11, 10387313)).put(StructureFeature.MANSION, new class_5314(80, 20, 10387319)).put(StructureFeature.BURIED_TREASURE, new class_5314(1, 0, 0)).put(StructureFeature.MINESHAFT, new class_5314(1, 0, 0)).put(StructureFeature.RUINED_PORTAL, new class_5314(40, 15, 34222645)).put(StructureFeature.SHIPWRECK, new class_5314(24, 4, 165745295)).put(StructureFeature.OCEAN_RUIN, new class_5314(20, 8, 14357621)).put(StructureFeature.BASTION_REMNANT, new class_5314(30, 4, 30084232)).put(StructureFeature.FORTRESS, new class_5314(30, 4, 30084232)).put(StructureFeature.NETHER_FOSSIL, new class_5314(2, 1, 14357921)).build();
I would love for someone to see what this mess is, map these classes, and create a module since class 5311 will throw an exception if your structure is not in that ImmutableMap.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top GitHub Comments
Don’t think we need to cover the datafix one, but the actual used one needs to be covered.
I believe that this issue has been addressed with the merge of #917.