Skip to content

Overhaul printed_page Rendering and behavior - #571

Merged
Pabilo8 merged 10 commits into
Team-Immersive-Intelligence:dev/mainfrom
TheBiochemic:dev/main
Apr 18, 2026
Merged

Pabilo8 merged 10 commits into
Team-Immersive-Intelligence:dev/mainfrom
TheBiochemic:dev/main

Conversation

@TheBiochemic

@TheBiochemic TheBiochemic commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Changes & Additions

  • Added First person & UI Artwork for Bound pages, Newspaper, Book, Code page, Construction page
  • Added special handling for author and title NBT String (same as Minecraft Book)
  • Added special behavior when holding printed_page and having the GuiPrintedPage open.
  • Added first person render & custom UI for Newspaper, Code page, Construction page, Bound pages
  • Reverted default rendering behavior for Book and Blank page and Letter
  • Changed Letter to not have UI and instead open on right-click
  • Added Opened Letter, which is a single page Container (using text NBT for content, and optional type for page type)
  • Implemented multi-page rendering in UI and first person
  • Item variants with multiple pages now store the pages the same way as the Minecraft book (pages NBT List, with tag + type Compound for each page), with additional type for the content type (as defined in the PageType enum)
  • the Blank page now has the paper Ore Dictionary tag

Bug fixes

To Do

  • Need to test and potentially fix changes for Multiplayer it seems to just work
  • Need to add Translations for the Opened Letter
  • Check for missing entries

Additional notes

For testing put that into a command block and activate it:
Newspaper (for book use meta value 7, for bound pages meta 5):

/give @p immersiveintelligence:printed_page 1 6 {"author":"Boulevard News","title":"News Issue No. 43","pages":[{"text":"the first page, as you see is a code page<br>it supports all the usual shenanigans","type":"CODE"},{"text":"Here is some more text, but on a regular page", "type":"TEXT"},{"text":"the third page is on the right on the newspaper, then you need to flip the page","type":"BLUEPRINT"},{"text":"this is on the second side of the newspaper, as you can see","type":"TEXT"}]}

Letter (meta 1, 2, 3 for the regular pages, without type NBT value, since it's implied by it's page type):

/give @p immersiveintelligence:printed_page 1 8 {"author":"your friend","title":"to This user", "text":"it contains some secret message, that is not visible, until you open the letter.", "type":"TEXT"}

@TheBiochemic TheBiochemic changed the title [In progress] Overhaul printed_page Rendering and behavior [Draft] Overhaul printed_page Rendering and behavior Apr 17, 2026
@TheBiochemic TheBiochemic changed the title [Draft] Overhaul printed_page Rendering and behavior Overhaul printed_page Rendering and behavior Apr 17, 2026
@Pabilo8 Pabilo8 added the PR Ready Mark PR as ready for a merge window. ONLY USE IT IF YOU CONSIDER THE PR TO BE FULLY READY FOR MERGE label Apr 17, 2026
@Pabilo8 Pabilo8 moved this from 🕗Unsorted to Current in Immersive Intelligence Central Project Board Apr 18, 2026

@Pabilo8 Pabilo8 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work. The new textures look amazing.

@Pabilo8
Pabilo8 merged commit 1e7170c into Team-Immersive-Intelligence:dev/main Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR Ready Mark PR as ready for a merge window. ONLY USE IT IF YOU CONSIDER THE PR TO BE FULLY READY FOR MERGE

Development

Successfully merging this pull request may close these issues.

[Adjustment] Custom book 1st person texture/model

2 participants