Skip to content
Success

Changes

Summary

  1. Add state support to structures (details)
  2. Start adding buttons for the structures, add animation toggle (details)
  3. We don't implement the layer stuff for now. Should be fine as is. (details)
Commit 72fb9f29feb2744961d70c1ae601fa9efa991289 by bernhard.bonigl
Add state support to structures
The file was modifiedsrc/main/resources/assets/mantle/books/TestBook/structures/stonesmeltery.json (diff)
The file was modifiedsrc/main/resources/assets/mantle/books/TestBook/sections/section1.json (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/StructureBlockAccess.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/data/element/BlockData.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/gui/book/element/ElementStructure.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/StructureInfo.java (diff)
Commit d200a1405cbe251c6573195a27a583a284217b7a by bernhard.bonigl
Start adding buttons for the structures, add animation toggle
The file was modifiedsrc/main/java/slimeknights/mantle/client/gui/book/element/ElementStructure.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/StructureInfo.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/data/AppearanceData.java (diff)
The file was modifiedsrc/main/resources/assets/mantle/textures/gui/book/book.png (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/data/content/ContentStructure.java (diff)
The file was addedsrc/main/java/slimeknights/mantle/client/gui/book/element/IButtonClickHandler.java
The file was addedsrc/main/java/slimeknights/mantle/client/gui/book/element/ElementButton.java
The file was modifiedsrc/main/java/slimeknights/mantle/client/gui/book/GuiArrow.java (diff)
The file was addedsrc/main/java/slimeknights/mantle/client/gui/book/element/ElementAnimationToggle.java
The file was addedsrc/main/java/slimeknights/mantle/client/gui/book/element/ElementArrow.java
Commit 1843def19d8bfad2d871cc9521526fdeb9e35ab2 by bernhard.bonigl
We don't implement the layer stuff for now. Should be fine as is.
The file was modifiedsrc/main/java/slimeknights/mantle/client/gui/book/element/ElementStructure.java (diff)
The file was modifiedsrc/main/java/slimeknights/mantle/client/book/data/content/ContentStructure.java (diff)