Commit graph

143 commits

Author SHA1 Message Date
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
modmuss50
413ddf6456 21w14a - Mappings update 2021-04-07 18:46:09 +01:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
i509VCB
f8cf2bb436 Add custom value denoting module lifecycles. (#1253)
* Add custom value denoting module lifecycles.

* Make the module validation work.

My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.

* Apply task to each project and dont cross projects

* A horrible hack

* Wait what

* It works now.

* Not needed

* Drop unneeded maven repo, cache map lookup

(cherry picked from commit daa38b3d82)
2021-01-19 18:54:23 +00:00
modmuss50
e1f1abb1c0 20w49a 2020-12-02 19:02:44 +00:00
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
3e817a62fd Version bump 2020-11-05 18:26:58 +00:00
modmuss50
fd6e7547e7
20w45a
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
modmuss50
a4467d2a9c Bump version 2020-10-27 18:36:48 +00:00
i509VCB
eacb8ba396
Update yarn mappings (#1127) 2020-10-22 18:54:44 +01:00
modmuss50
2b462379ad Bump versions 2020-10-18 18:38:30 +01:00
Technici4n
16a658fec4
Fix sprite and spriteBake (#1122) 2020-10-18 18:28:31 +01:00
modmuss50
f8ac1db2b1 Version bump 2020-09-27 12:38:48 +01:00
Deximus-Maximus
5f10696617
Add @Nullable and friends (#1007)
* Boost to Loom 0.5
Add null related annotations

* Rearrange nullable to be overline

* Fix anno sorting for picky

* Add imports

* Address feedback

* Fix import
2020-09-27 12:10:02 +01:00
grondag
8bcfced859
Fix for #987 (#1046)
* Fix #987, simplify geometry tracking, clean up scoping

* Bump indigo version

* Expose improved fromVanilla method

* Strip deprecations in non-API components

* bump renderer api version

* Clear tag for converted quads

Otherwise possible for tags added by transforms to pollute subsequent quads

* Borrow from Canvas - don't set nominal face twice, prevent header state leakage
2020-09-03 19:50:26 +01:00
shartte
5d32f58344
Make Indigo more closely aligned with vanilla's behavior when (#901)
rendering flat-shaded quads. Use the cull-face (if present)
to determine where the light-value is being sampled from,
and use the light-face to apply diffuse lighting.
Also do not force the light-face to be set to the cull-face,
since some blocks use faces where these are both set and different
(see the insides of a Cauldron for example).
2020-07-24 16:24:33 +01:00
modmuss50
7548be6d43 Revert "Indigo Flat-Shading Lighting Fix (#898)"
This reverts commit 28388fad
2020-07-20 19:52:17 +01:00
shartte
28388fadd8 Indigo Flat-Shading Lighting Fix (#898)
* Make Indigo more closely aligned with vanilla's behavior when
rendering flat-shaded quads. Use the cull-face (if present)
to determine where the light-value is being sampled from,
and use the light-face to apply diffuse lighting.

* Bump Indigo version to 0.3.4
2020-07-20 19:37:34 +01:00
modmuss50
3b4b2c130e Version bump 2020-07-17 16:22:50 +01:00
shartte
1036f7f1f9
Reuse TerrainFallbackConsumer to render vanilla models when (#870)
called from BlockModelRenderer. Fixes #869.
2020-07-17 14:49:30 +01:00
modmuss50
4d66bed54e 1.16.1 + hopefully fix github actions 2020-06-25 17:41:13 +01:00
modmuss50
059ea866ec update mappings 2020-06-09 22:29:07 +01:00
modmuss50
4a01746c06 Merge remote-tracking branch 'origin/1.16' into 1.16 2020-05-29 20:12:35 +01:00
modmuss50
0a73535729 Bump version 2020-05-29 20:11:58 +01:00
grondag
021baa0119
Various Indigo lighting fixes (#640)
* Various lighting fixes

* 20w22a

* Various lighting fixes

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-05-29 20:06:29 +01:00
modmuss50
da175ad6ad 20w22a 2020-05-29 15:56:10 +01:00
modmuss50
6c0e72dfcd Bump version 2020-04-20 01:43:57 +01:00
modmuss50
6cbc90d6ae
Fix lighting issues (#583) 2020-04-20 01:42:57 +01:00
modmuss50
c808269fb2 20w14a 2020-04-02 19:28:36 +01:00
modmuss50
372d827d5a 20w13a 2020-03-25 18:20:06 +00:00
modmuss50
d249f7b6d6 20w12a 2020-03-18 20:05:01 +00:00
modmuss50
2f56dff236 Initial port to 20w09a 2020-02-26 19:10:16 +00:00
Player
cfa5f8f26a Bump version 2020-02-10 00:58:35 +01:00
2xsaiko
4c75723827 Check cullface after transform 2020-02-10 00:53:22 +01:00
modmuss50
820cd5cf1d Remove unused import 2020-02-05 19:36:30 +00:00
modmuss50
9421522d5a 20w06a 2020-02-05 18:05:59 +00:00
modmuss50
203491ea23 1.15.2-pre1 2020-01-14 20:50:51 +00:00
modmuss50
175d0eb82e Fix render offset not being applied.
Fixes flower and other blocks always rendering in the center of the block
2019-12-28 07:51:56 +00:00
modmuss50
d830abd6cf Work around odd crash in OpenJ9 due to an anonymous in a mixin. 2019-12-10 21:26:24 +00:00
modmuss50
821cdba74e 1.15-pre7 - mapping changes 2019-12-09 21:40:36 +00:00
modmuss50
ec40b2e12c 1.15-pre4
a few mapping changes
2019-12-03 17:02:41 +00:00
modmuss50
ea865a1450 Fix crash on startup
Required as mixin was complaining: target requires method signature because enclosing type information for net.minecraft.client.render.chunk.ChunkBuilder$BuiltChunk$RebuildTask is unavailable
2019-11-29 00:29:17 +00:00
modmuss50
06c939b35c 1.15-pre3 - just mapping changes 2019-11-28 19:40:14 +00:00
grondag
1e5e53014d Fix gui item rendering (issue #412 PR #443) 2019-11-28 08:03:04 +00:00
modmuss50
2775144ad8 Fix NPE in MixinChunkRebuildTask Closes #436 2019-11-26 15:37:59 +00:00
modmuss50
f3d8141bae 1.15-pre1 2019-11-21 21:04:17 +00:00
modmuss50
6c2678816a 19w46a 2019-11-13 17:41:46 +00:00
modmuss50
f947d671a1 19w45b + Fix missed optional mixin fixes
MixinChunkRebuildTask should have been ported yesterday, but it was only logging out a warning.
2019-11-08 13:23:12 +00:00
modmuss50
12515ed9ee 19w45a 2019-11-07 20:35:26 +00:00
Player
b7f9825dbb Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
modmuss50
ce77399215 19w44a
Only yarn renames
2019-10-30 17:10:30 +00:00
Player
dfdb52d6e5 Add checkstyle, format existing code accordingly. 2019-10-27 15:40:26 +01:00
grondag
b8dee3c017 Fix breaking render for API models (#406)
* Fix breaking render for API models

* Bump versions
2019-10-19 19:29:48 +01:00
grondag
0f869edf26 Fix indigo rendering in 19w42a (#405)
* Fix indigo rendering in 19w42a
* Prevent crashes for modded item rendering

VertexConsumer now thows unless all vertex elements are populated.  Overlay UV coordinates are thus required for block breaking, item glint, etc.  Block breaking doesn't seem to work fully for non-vanilla models, but cause isn't yet clear.
2019-10-17 15:54:54 +00:00
modmuss50
d2e3099f39 19w42a
Includes a work around for the funky rendering issues, this will need looking into some more.
2019-10-16 18:54:16 +01:00
modmuss50
ccd269cfad 19w41a 2019-10-09 19:05:13 +01:00
modmuss50
da5bc0bb05 19w40a 2019-10-02 15:48:19 +01:00
grondag
32ac36d518
1.14 Updates and Render Fixes (#394)
* Fix EntityRenderDispatcher hook (again)

* Add fabric-particles-v1

* Add a sync() method to BlockEntityClientSerializable

* Prevent CME due to off-thread block entity updates (#367)

* Restore rendering features disabled in first 19w39a release

* Remove rendering stuffs no longer needed due to snapshots

* Bump versions as needed
2019-09-29 18:21:38 -07:00
Modmuss50
9c45b1ef78 Wip 19w39a (#386)
* 19w39a fixes (#387)

* Bump versions

* Breaks: BlockEntityRendererRegistry and EntityRendererRegistry

* Remove broken parts of rendering, bump major version

* Add renderer-registries, replaces broken parts of rendering api

* Slap a band-aid on renderer/Indigo - won't render properly, but runs

* Bump distribution versions, add renderer-registries to main build

* Clean up blockrenderlayer implementation package name
2019-09-28 18:07:04 -07:00
grondag
a5d709c3e1
1.15 Rendering Cleanup (#376)
* Make whitespace more consistent with Fabric norms
* Remove implementation of disabled multi-sprite quad feature
* Simplify quad header encoding - most attributes are now directly encoded to array data
* Simplify material encoding - exploiting low number of possible materials
* Add minimal validations related to sprite index
* Codify magic numbers and make derivations more clear/explicit
* Fix defect #374
* Bump patch versions
* Use unmodified vanilla AO calculator
2019-09-24 07:27:27 -07:00
grondag
d2ac651a7a
19w38b API Fixes (#370)
* Fix compilation errors (untested)

* Random fixes

* Various modded rendering fixes

* Restore contract of RenderAttachedBlockView

* Bump versions as needed

* Add API for BlockRenderLayer

* Minor format / name cleanup

Will do a more comprehensive pass as part of separate refactor PR

* Bump versions not handled earlier

* Bump loader/mc bounds for dependent modules

* Update fabric-blockrenderlayer-v1/src/main/java/net/fabricmc/fabric/impl/blockrenderlayer/v1/BlockRenderLayerMapImpl.java

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update fabric-blockrenderlayer-v1/src/main/java/net/fabricmc/fabric/impl/blockrenderlayer/v1/BlockRenderLayerMapImpl.java

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Minor clean ups

* Improve docs, minor format corrections.

* Update MC dependency
2019-09-20 16:50:49 -07:00
modmuss50
7533b848b5 19w38b - start the port, does not compile just yet. 2019-09-18 18:16:25 +01:00
Prospector
5ed88c193a Add more metadata to the modules (#353)
* Add fabric-api-base as a dep to fabric-networking-v0
2019-09-09 01:48:43 +02:00
modmuss50
b4f62fb5a7 Update fabric-loader to replace deprecated methods 2019-08-28 22:17:50 +01:00
modmuss50
27da48aaf2 19w35a 2019-08-28 18:59:15 +01:00
Player
66a6b610bc Add 1.15 MC deps where needed, update loader, bump versions. 2019-08-27 18:43:09 +00:00
modmuss50
ef6e16884f 19w34a - not being built just yet 2019-08-22 19:07:25 +01:00
grondag
f0fe03ff28 Fixes for Indigo bugs #329 and #330 (#334) 2019-08-08 00:00:31 +01:00
grondag
9b03381f03
Merge pull request #284 from svipthedrunk/javadoc
Javadoc fixes
2019-07-28 06:04:11 -07:00
grondag
211f569447
Update MixinBufferBuilder.java 2019-07-27 21:41:15 -07:00
grondag
b10eadb3bd
Delete BufferBuilderTransformHelper.java
File was deleted from master branch
2019-07-27 21:34:23 -07:00
modmuss50
9486cfbfdb Merge remote-tracking branch 'remotes/upstream/master' into snapshot/1.14.4 2019-07-12 10:27:09 +01:00
modmuss50
ea100f613b 1.14.4-pre4 2019-07-10 14:42:04 +01:00
grondag
3c859cf746 Bump indigo version to 0.1.9
Very small patch but easier to communicate for support purposes.
2019-07-08 07:10:21 -07:00
grondag
ad361ed1b6 Use correct value for white colorIndex
Addresses #299
2019-07-07 22:59:00 -07:00
grondag
099c1e8b8c Various Indigo Improvements (#295)
- Fix #199 Vanilla Bug: Glowstone creates AO shade
- Fix #289 Rendering on the Cutout and Transparent Layers together interferes with water rendering
- Fix #290 Smooth lighting breaks on continuous angled surfaces
- Fix #291 QuadEmitter not cleared on MeshBuilder.build()
- Fix #292 Render context QuadEmitter crash with flat lighting
- Fix #293 Relax vertex order requirements for modded quads
- Fix swapped color components for grass and other blocks
- Add option to partially support non-standard vertex formats
2019-07-07 23:16:19 +02:00
svipthedrunk
b494ebebbb Fixed most of the javadoc comments and removed unused imports
Mostly replaced instances of > with its correct html representation "&gt;"
Changed or removed some bad @link entries, mostly stuff due to overseen code changes
Could not find the referenced class VertexEditor at all, removed these references out of the docs

Some errors still exists due to referenced objects not in the classpath at the time the javadoc is build
Proposal do some gradle magic
2019-06-27 18:18:10 +02:00
grondag
029ec62e98 Fix dark faces on interior quads with flat lighting (#273) 2019-06-14 19:58:35 +02:00
grondag
229941196c MaterialFinder honors Translucent again, fix #258 (#259) 2019-06-08 22:24:17 +02:00
asie
f8c32967ad bump fabric-renderer-indigo version 2019-06-06 22:22:14 +02:00
grondag
0ddb3a4838 Fix bad flat lighting on inset quads (#253) (#254) 2019-06-06 19:44:54 +02:00
grondag
c00bc2e112 Make HYBRID the default lighting mod (#255) 2019-06-06 19:44:40 +02:00
grondag
9ff0718ada Remove reundant modifiers 2019-06-05 05:52:33 -07:00
grondag
0275a7756e Fix exterior vertex lighting 2019-05-30 19:24:28 -07:00
grondag
702c210a7a Classify quads outside block bounds as full-bounds
Also improves configurability
2019-05-30 06:00:16 -07:00
grondag
620b4d6141 Fix #223 (bad flat lighting on irregular cull face quads) (#224) 2019-05-29 23:04:31 +02:00
asie
9e67cf46e9 [fabric-renderer-indigo] apply Indigo mixins only on client side 2019-05-28 18:29:42 +02:00
grondag
4076d79a11 Apply face culling consistently in mesh consumer (#216) 2019-05-27 06:55:27 +02:00
Adrian Siekierka
144f81d241 mark Indigo as 0.1.1 2019-05-26 15:32:55 +02:00
grondag
8a8ad746d4 FIX: Honor null blend mode in Indigo material finder (#213) 2019-05-26 15:32:34 +02:00
Adrian Siekierka
27e744c06a Indigo compatibility/configuration improvements (#205) 2019-05-26 15:32:07 +02:00
Adrian Siekierka
02a46d5b29
[#65] Renderer API + Indigo (#189)
Big thanks to Grondag and Player for all the pain and trouble we all went through.
2019-05-18 22:25:27 +02:00