Commit Graph

120 Commits

Author SHA1 Message Date
Meredith Espinosa
49e69227df
Merge pull request #4 from AlexIIL/patch-1
Fix Templates blocking other custom models.
2019-06-22 11:53:24 -07:00
AlexIIL
26a07e23c4
Fix Templates blocking other custom models.
Currently `TemplateModelVariantProvider.loadModelVariant` will throw `a ModelProviderException` if it doesn't have a model already in the map - however this stops any other mods from providing custom models that are later in their chain.

While this behaviour isn't documented (fabric's `ModelVariantProvider` interface doesn't even *mention* `ModelProviderException`) it does say that it should `@return The loaded UnbakedModel, or null if this ModelVariantProvider doesn't handle a specific Identifier`
2019-06-22 17:27:29 +01:00
Meredith Espinosa
0063532e03 oh right check fabric.mod.json for environments too 2019-06-19 23:40:56 -07:00
Meredith Espinosa
b53bf856e6 update loom, make loadModelVariant throw properly 2019-06-19 18:19:11 -07:00
Meredith Espinosa
dd8c0a3d28 fix TemplateEntity's name, improve state container 2019-06-19 17:51:11 -07:00
Meredith Espinosa
8b8a86bed7 de-include Jankson 2019-06-19 16:11:29 -07:00
Meredith Espinosa
5f47345ebd oh right icons are important 2019-06-19 16:04:38 -07:00
Meredith Espinosa
e37f5971d2 add readme, assets, and data! 2019-06-19 15:57:15 -07:00
Meredith Espinosa
616502b16e rename mod! 2019-06-19 15:29:15 -07:00
Meredith Espinosa
12d6874b95 remove hardcoding of variant provider 2019-06-19 15:07:14 -07:00
Meredith Espinosa
9b560e0af7 abstractify, add support for redstone/luminance 2019-06-19 13:32:58 -07:00
Meredith Espinosa
27fd865f79 Merge branch 'master' of https://github.com/CottonMC/slopetest 2019-06-19 11:47:44 -07:00
Meredith Espinosa
78e355d7a1 Update SlopeTestBlock.java 2019-06-19 11:47:42 -07:00
grondag
197f57f202 Render without BlockEntityRenderer (#2)
* Add model-based rendering

* Add model-based rendering

* Rebase, clean up, fix rendering

* Update to newer Fabric API - fixes Indigo bug w/ render layers

* Fuss with lighting, ran out of time.
2019-06-19 11:42:45 -07:00
Meredith Espinosa
07abe31ea4 oh right block states are immutable 2019-06-18 23:03:32 -07:00
Meredith Espinosa
e58edda102 try out putting block states on slopes instead of blocks 2019-06-18 22:59:35 -07:00
Meredith Espinosa
bcd5fdd962 add color, support for multiple faces 2019-06-18 17:39:25 -07:00
Meredith Espinosa
b32276278e get configuration working! 2019-06-18 16:51:16 -07:00
Meredith Espinosa
f52e43efe6 fix all face rotations! 2019-06-18 14:39:26 -07:00
Meredith Espinosa
56ee01d42b Initial commit 2019-06-18 02:33:36 -07:00