1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-10 09:20:28 +00:00
CC-Tweaked/projects
Jonathan Coates f10e401aea
Load turtle overlays from a registry
- Add a new computercraft:turtle_overlay dynamic registry, which stores
   turtle overlays. Turtle overlays are just a model id and an
   (optional) boolean flag, which specifies whether this overlay is
   compatible with the elf/christmas model.

 - Change the computercraft:overlay component to accept a
   Holder<TurtleOverlay> (instead of just a model ID). This accepts both
   an overlay ID or an inline overlay object (e.g. you can do
   cc:turtle_normal[computercraft:overlay={model:"foo"}].

 - Update turtle model and BE rendering code to render both the overlay
   and elf (if compatible). Fixes #1663.

 - Ideally we'd automatically load all models listed in the overlay
   registry. However, resource loading happens separately to datapacks,
   so we can't link the two.

   Instead, we add a new assets/computercraft/extra_models.json file
   that lists any additional models that should be loaded and baked.

   This file includes all built-in overlay models, but external resource
   packs and/or mods can easily extend it.
2024-06-27 20:57:43 +01:00
..
common Load turtle overlays from a registry 2024-06-27 20:57:43 +01:00
common-api Update to Minecraft 1.21 2024-06-22 16:19:59 +01:00
core Merge branch 'mc-1.20.x' into mc-1.20.y 2024-06-21 08:36:18 +01:00
core-api Merge branch 'mc-1.20.x' into mc-1.20.y 2024-03-22 21:23:49 +00:00
fabric Load turtle overlays from a registry 2024-06-27 20:57:43 +01:00
fabric-api Update to Minecraft 1.21 2024-06-22 16:19:59 +01:00
forge Load turtle overlays from a registry 2024-06-27 20:57:43 +01:00
forge-api Update to Minecraft 1.21 2024-06-22 16:19:59 +01:00
lints Merge branch 'mc-1.20.x' into mc-1.20.y 2024-04-07 22:06:49 +01:00
standalone Allow mounting folders in the standalone emulator 2024-04-03 21:27:18 +01:00
web Publish docs via an artifact instead 2024-06-19 09:57:56 +01:00
ARCHITECTURE.md Add a standalone CC:T UI 2023-10-28 17:58:11 +01:00