Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-structure support #20

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Add multi-structure support #20

merged 2 commits into from
Nov 26, 2024

Conversation

SuperLlama88888
Copy link
Owner

All structure files are now combined into the same pack. I originally planned to have a UI to allow splitting up files into separate packs; however, it would take too much effort for something which I don't think many users would use, and it could make the UI more cluttered. I may try to implement this later if I have more time.

Currently, the material list is combined for all structures, but I want to have a separate one for each structure. This would involve being able to switch between them in-game, something which I have no idea how to do. On touch, simply adding buttons would work; but on keyboard, maybe left/right arrow keys???

- Packs can now have multiple structures in them, which can be changed by hitting the armour stand when it's holding nothing (thanks Indyficcient!), or attacking with an arrow. Changing structures will stop validating and reset the layer mode to show everything.
- A combined file hash is calculated by concatening the files, which is uploaded along with each individual file hash.
- UI has yet to be updated for this, and combines all file currently into the same pack. I want to add an option to split up different files into different packs for batching.
- Bounding box and block validation particles work by having a different animation controller state and different particles for each structure.
- Valid structure overlay dimensions have been updated to use Molang.
- Alignment and offset wrappers have been combined into the same name, which reduces the need for duplicate animations
- Moved all JSDoc types to the bottom of HoloPrint.js, from which other files import them.
- SQL has been updated both here and in the database to work with multiple file hashes and stuff; let's hope it doesn't break!
- Add instruction images for changing structures and disabling player controls
- Fix lectern and enchanting table book cover textures being flipped
- Make launch files (i.e. opened with PWA) behave the same as drag-and-dropping them
- Make touch material list button appear above chat, and disappear when the HUD is hidden
  - Known issue: When the HUD is hidden, although the button disappears, it is still there, so regular touch input doesn't work in that area.
- Only display console messages from HoloPrint in the log
- Reorder links in the pack settings screen
- Lazy load some module imports
- Remove a couple of useless imports and variables
@SuperLlama88888 SuperLlama88888 changed the title Add multi-structure support Add multi-structure support Nov 26, 2024
@SuperLlama88888 SuperLlama88888 merged commit e0416da into main Nov 26, 2024
3 checks passed
@SuperLlama88888 SuperLlama88888 deleted the dev branch November 26, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant