Required as mixin was complaining: target requires method signature because enclosing type information for net.minecraft.client.render.chunk.ChunkBuilder$BuiltChunk$RebuildTask is unavailable
* 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
* 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.
* 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
* 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
* 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
* 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
* 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