Closed Brian-Wuest closed 2 years ago
Due to the complexities involved with allowing custom prefabs, especially when it comes to custom blocks. This is simply not feasible with the development team we have right now.
There was great progress made on this subject for this project but the realization that we could not properly support this effort means that we cannot continue it.
Note: Most of the progress for this is stored in the following branch on the Fabric repository: 1-18-1-custom-structures
Notes on what was completed for posterity (and so it's not just on my machine).
Custom Structure Work Done
1. Created class to hold custom structure information.
2. Created class to hold custom recipe information.
a. All recipes are shapeless; they just need the items.
3. Created messages and registrations to transfer structure information from server to client.
4. Added validation between client and server interations.
5. Added item recipe validation to ensure that items exist when a server starts.
6. Added logic to send packet to player when they join a server to send all server-side custom structures.
a. Note: Actual structure design data is not sent as those would be too big. It is expected that the client-side has them.
i. This information is verified on client-side.
ii. If data cannot be verified the structure is not available.
7. Added blueprint item, model and recipe
8. Added drafting table block, item block, models, and recipe
9. Added pencil item, model, and recipe
10. Created logic to create custom structure folders if they don't exist during loading.
11. Created logic to load custom structure data during loading.
12. Create Block Entity for Drafting Table block
13. Create GUI for Drafting Table Block
a. Will only look at player's inventory for items/blocks.
b. Don't bother looking at other inventories when in creative mode.
1. Update Preview and Build Structure functionality to handle custom structures.
2. Update Structure Scanner saving to save to custom folder location when not in development.
a. Development will still place structure in current location.
3. Update Structure Scanner so it will be registered outside of development environments.
Custom Structure Work To Do:
1. Update Structure Scanner GUI so it can look the same between Fabric and Forge
a. Update Structure Scanner GUI to support Narrator and make it look better in general
4. Update Structure Scanner model so it doesn't look like crap
5. Fix bugs and add stuff not thought of
6. TEST!!!!!!!!!!!
7. Remove need for client to have matching files. Add shape and size of the structure to saved custom structure info class.
a. Do not put these dimensions into the file as people could mis-represent the shape and size of the building.
Minecraft Version
1.18.1
Forge Version
latest
Mod Version
latest
Details
This is probably our most requested feature that we haven't done yet. This is still not guaranteed but we want to make an honest effort towards fulfilling this request.
Below are some notes we have about various blocks, items, and functionality we would need to create.