Go to file
2023-06-30 03:35:48 -04:00
gradle/wrapper update gradle wrapper 2023-06-15 01:26:08 -04:00
src/main slight model simplification (eh) 2023-06-30 03:35:48 -04:00
.gitattributes Initial commit 2019-06-18 02:33:36 -07:00
.gitignore Initial commit 2019-06-18 02:33:36 -07:00
build.gradle oh here we go 2023-06-15 02:06:21 -04:00
gradle.properties oh here we go 2023-06-15 02:06:21 -04:00
gradlew update gradle wrapper 2023-06-15 01:26:08 -04:00
gradlew.bat Initial commit 2019-06-18 02:33:36 -07:00
icon.png oh right icons are important 2019-06-19 16:04:38 -07:00
LICENSE Initial commit 2019-06-18 02:33:36 -07:00
README.md hmm 2023-06-30 03:00:49 -04:00

Templates

>> Downloads <<

Slopes?

This mod is open source and under a permissive license. As such, it can be included in any modpack on any platform without prior permission. We appreciate hearing about people using our mods, but you do not need to ask to use them. See the LICENSE file for more details.

Templates is an API for Carpenter's Blocks-like templated blocks. Currently, plain slopes are the only built-in template blocks.

Template blocks can be placed in the world, then right-clicked with a full-size block to set the textures for the template. Template blocks will inherit light and redstone values from the blocks they're given, or they can have light or redstone output added to any given block by right-clicking the template with glowstone dust or a redstone torch, respectively.

quat was here

Todo

  • Re-generalize the model system (I removed a layer of indirection while rewriting it, so it's just slopes now)
  • See what I can do about using the vanilla rotation system (ModelBakeSettings.getRotation) instead of manually rotating the Mesh
    • A simplification of the mesh system would definitely reduce the friction of adding new meshes (see all the paintXxx stuff in SlopeMeshTransformer, it's fairly ugly)
    • Upside-down slopes would be nice...
  • (if i may): Packages-ish "retexturing" of json blockmodels

Notes for addon developers

To create your block, instantiate or extend TemplateBlock. Pass your Block.Settings through TemplateBlock.configureSettings to wire up the "click for glowstone" feature. Create an ItemBlock as normal, and create a BlockEntityType by instantiating or extending TemplateEntity.

Next, wire up the custom model. im going to refactor this in like 5 seconds so im not documenting it >:).