Commit graph

610 commits

Author SHA1 Message Date
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
Mark J
d1753d4af9
Fix BlockRenderLayerMapImpl no longer working in 19w42a. Move some LOG.warns to InvalidParameterException (#409)
* Fix BlockRenderLayerMapImpl no longer working in 19w42a. Move some LOG.warns to InvalidParameterException

In 19w42a new class (class_4699) that contains 3 maps for Item, Block and Fluid RenderLayers.
Before these maps were in the RenderLayer class causing them to be populated well before this API had a chance to get to handling the consumers.

I have tweaked the impl to handle RenderLayers being added before initialize is called and after, this removes the need to ensure the class load order is correct.

* quick cleanup

* InvalidParameterException -> IllegalArgumentException

* Move to single lines + add a blank line
2019-10-19 19:29:57 +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
Player
38a28ddb59 Version bump 2019-10-17 00:27:10 +02:00
liach
67f1526c06 Allows generic event declaration
Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-16 22:20:34 +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
grondag
f8c11fca6f
Fix EntityRendererRegistry crashes (#392)
* Move EntityRenderDispatcher init hook (#390)

Fixes FabricMC/fabric#389

* Bump API patch version

* Bump renderer registries patch version
2019-09-29 15:09:46 -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
128a6b25c0
Bump patch number on Renderer API
Neglected to increment this in last PR.  May also fix #379.
2019-09-24 18:36:56 -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
96946203be
Bring dimension API to 1.15 branch (#373)
* Update versioning to match 1.15 branch

* Fix builtin mods being added as resource packs

* Update fabric-loader to replace deprecated methods

* Add more metadata to the modules (#353)

* Add fabric-api-base as a dep to fabric-networking-v0

* Allow for running fabric-api-base on the server-side environment (#360)

* Set curse version to 1.14.4
Also forces it to build again

* Fix NPE in fluid renderer mixin (#361)

* Fix NPE in fluid renderer mixin
* Ensure state, view, and pos are never null
* Bump fabric-rendering-fluids-v1 version

* Cooler dimension API, #309 (#319)

* pyro API

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/EntityPlacer.java

clarify portalDir param

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/EntityPlacer.java

rename & clarify verticalOffset param

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/FabricDimensions.java

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/EntityPlacer.java

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* update parameter

* Add fabric-networking and fabric-registry-sync to dependencies

* Refactor FabricDimensionType to use a builder

Also adds a desiredRawId field separate from the actual raw
id fixed internally. The fixedRawId field is now set by
DimensionIdsFixer through reflection.
This change addresses concerns about the ability for any mod
to set a FabricDimensionType's raw id at any time.

* Improve javadoc of FabricDimensions#teleport

* Add an overload for FabricDimensions#teleport

* Update javadoc on DimensionIdsFixer

* Inline clientside packet handling

* Add side assertions to FabricDimensions#teleport

* Nuke minecraft's attempts to overwrite bad level properties

* Add license headers

* Reformat dimension API source code

* Update FabricDimensionType javadoc

* Remove redundant ThreadLocal from FabricDimensionInternals

* Fix crash on dedicated servers

* Fix Illegal Access during remapping

* Fix dimension remap exception propagation

* clarify EntityPlacer docs

* spacing fixes

* api.dimension -> api.dimension.v1

* Increment API patch version

Signifies inclusion of new Dimension API

* Partial fix to FabricDimensionType

* Bump dimension version

* Updates based on feedback
2019-09-22 08:32:08 -07:00
modmuss50
c208a44d66 Merge remote-tracking branch 'origin/1.15' into 1.15
# Conflicts:
#	fabric-events-interaction-v0/build.gradle
2019-09-21 11:30:30 +01: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
d32291da65 Fix resource-loader 2019-09-18 23:24:15 +01:00
modmuss50
9c15c890d1 Update mappings 2019-09-18 19:01:22 +01:00
modmuss50
7533b848b5 19w38b - start the port, does not compile just yet. 2019-09-18 18:16:25 +01:00
liach
7eee2bafa3 Update UseItemCallback to 19w37a
* A fix for #364

Signed-off-by: liach <liach@users.noreply.github.com>

* Version to 0.2.0
2019-09-13 20:01:21 +01:00
Virtuoel
bcce83c829 Fix NPE in fluid renderer mixin (#361)
* Fix NPE in fluid renderer mixin
* Ensure state, view, and pos are never null
* Bump fabric-rendering-fluids-v1 version
2019-09-12 04:15:11 +02:00
modmuss50
6b7b8bda7b 19w37a - the same. 2019-09-11 16:42:09 +01:00
parly
2d1f5b3a69 Allow for running fabric-api-base on the server-side environment (#360) 2019-09-09 14:04:22 +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
413f3d6055 19w36a some biome changes 2019-09-05 12:04:07 +01:00
modmuss50
b4f62fb5a7 Update fabric-loader to replace deprecated methods 2019-08-28 22:17:50 +01:00
modmuss50
d1f89c1d5e Fix builtin mods being added as resource packs 2019-08-28 20:00:17 +01:00
modmuss50
27da48aaf2 19w35a 2019-08-28 18:59:15 +01:00
modmuss50
d7b19f7e1c Remove remote name from branch 2019-08-27 20:40:07 +01:00
modmuss50
65dbd72c87 Fix branch name on jenkins 2019-08-27 20:26:27 +01:00
modmuss50
34cdeba3b0 Add current git branch to version
Set the curse game version to 1.15
2019-08-27 20:11:55 +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
modmuss50
9f55aa704f Bump versions 2019-08-08 00:06:46 +01:00
Sollace
d0d2f47092 Update gitignore (#248) 2019-08-08 00:04:32 +01:00
Josh Hejna
4b135a47c9 Add minimal "getting started" to README.md (#275) 2019-08-08 00:03:31 +01:00
asie
232e294c2c optimize removeAll in ResourceManagerHelperImpl.sort (#298) 2019-08-08 00:02:25 +01:00
modmuss50
eff46b3d8e Add ItemStack Tooltip event (#302) 2019-08-08 00:01:17 +01:00
grondag
f0fe03ff28 Fixes for Indigo bugs #329 and #330 (#334) 2019-08-08 00:00:31 +01:00
grondag
39442fc282 Honor special case water/glass rendering (#335) 2019-08-07 23:58:20 +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
asie
e93d238ed2 update to Loom 0.2.5 2019-07-24 23:07:45 +02:00
modmuss50
883e856c18 1.14.4 2019-07-19 11:23:03 +01:00
modmuss50
f5c26764a9 1.14.4-pre6 2019-07-16 11:49:33 +01:00
modmuss50
00dd3ac59e Merge remote-tracking branch 'remotes/origin/master' into snapshot/1.14.4
# Conflicts:
#	build.gradle
2019-07-16 11:46:23 +01:00
coderbot16
7495ea28d6 Prevent mods from shadowing default resources (Fixes #66) (#310) 2019-07-16 10:59:34 +01:00