1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-11 04:19:58 +00:00
CC-Tweaked/projects/fabric/src
Jonathan Coates 7b4ba11fb4
Allow changing turtle upgrades from the GUI
This adds two slots to the right of the turtle interface which contain
the left and right upgrades of a turtle.

 - Add turtle_upgrade_{left,right} indicators, which used as the
   background texture for the two upgrade slots. In order to use
   Slot.getNoItemIcon, we need to bake these into the block texture
   atlas.

   This is done with the new atlas JSON and a data generator - it's
   mostly pretty simple, but we do now need a client-side data
   generator, which is a little ugly to do.

 - Add a new UpgradeContainer/UpgradeSlot, which exposes a turtle's
   upgrades in an inventory-like way.

 - Update the turtle menu and screen to handle these new slots.
2023-06-17 10:48:44 +01:00
..
client Document some of our client classes 2023-06-02 21:59:45 +01:00
generated/resources Allow changing turtle upgrades from the GUI 2023-06-17 10:48:44 +01:00
main Add support for codecs to our data generator system 2023-06-17 10:37:19 +01:00
test License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
testMod License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00