Commit Graph

99 Commits

Author SHA1 Message Date
quat1024
2646ce2df9 Don't use a random vanilla model for the parent 2023-07-03 20:02:52 -04:00
quat1024
9e86b33f0a Sharing is caring 2023-07-03 19:23:41 -04:00
quat1024
e8ee279355 Take mesh-rotating out of the hot path 2023-07-03 05:17:48 -04:00
quat1024
3c57778ea1 Permute faces 2023-07-03 04:58:26 -04:00
quat1024
1b0fd21481 Cut more chaff 2023-07-03 04:45:18 -04:00
quat1024
93ce164ff9 simplify the quad transformer even more, tweaks to BlockEntityTag-bearing itemstacks 2023-07-03 04:05:55 -04:00
quat1024
5a3eb6e520 further simplify redstone 2023-07-03 03:38:35 -04:00
quat1024
720e98c30b Redo a lot of redstone/glowstone logic 2023-07-03 03:35:07 -04:00
quat1024
97de0d1b9c Aggressively cache RenderMaterials 2023-07-02 06:26:19 -04:00
quat1024
ed42e4da9f cute trick (probably too cute) 2023-07-02 05:41:40 -04:00
quat1024
0c4a7f1ed8 Assign UV in the model and use spriteBake 2023-07-02 05:15:28 -04:00
quat1024
b257241b5e Clunkily fix the item model 2023-07-02 04:51:39 -04:00
quat1024
24c8c97f00 SlopeBakedModel is now threadsafe - but at what cost 2023-07-02 04:26:37 -04:00
quat1024
338e45d016 🦈 GET ROTATED Idiot 🦈 2023-06-30 04:59:10 -04:00
quat1024
e1408c5a7a Very broken test of affine-transforming quads 2023-06-30 04:27:35 -04:00
quat1024
5c980183e3 slight model simplification (eh) 2023-06-30 03:35:48 -04:00
quat1024
c671a68354 hmm 2023-06-30 03:00:49 -04:00
quat1024
24765be267 Rotate the item model so it faces the same way as stairs
But now the lighting looks kinda odd 🤔
2023-06-15 23:13:19 -04:00
quat1024
aed37a2aaa Refresh unbaked models on f3+t 2023-06-15 23:09:57 -04:00
quat1024
f2a60f4e8e Remesh chunks on the client when changing the blockstate
And slim down the code a bit
2023-06-15 22:51:23 -04:00
quat1024
871c3ac54e poke at SpriteSet a bit 2023-06-15 22:26:01 -04:00
quat1024
7928a9de70 Draw the rest of the fucking owl 2023-06-15 04:24:11 -04:00
quat1024
a5c0c9c893 Draw a few ovals 2023-06-15 03:08:20 -04:00
quat1024
5b369ab95e Probably overzealous formatting commit 2023-06-15 01:59:48 -04:00
quat1024
735e79ea78 Migrate off of deprecated APIs 2023-06-15 01:57:52 -04:00
quat1024
fb457d1b37 where we're going we don't need backwards compat 2023-06-15 01:53:46 -04:00
quat1024
ac61d3082c Succumb to the whims of Yarn contributors (at least compiles) 2023-06-15 01:53:04 -04:00
Meredith Espinosa
964a47e931 fix yet another bug with applying slopes 2019-07-14 17:51:47 -07:00
Meredith Espinosa
4ec0a07e7d fix another crash 2019-07-11 16:13:00 -07:00
Meredith Espinosa
3fef940041 be more discerning with what can go in a template block 2019-07-11 00:38:22 -07:00
Meredith Espinosa
715095434c better collision check 2019-07-10 15:44:34 -07:00
Meredith Espinosa
4d523b18e5 update fabric, fix crash 2019-07-10 14:56:57 -07:00
Meredith Espinosa
5446755e94 oh hey there's already a vanilla helper for NBT blockstates 2019-07-01 18:55:52 -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
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