* Add helper methods to create custom villager types.
* Rename biome method
* Make it register and register the instance of the villager type.
* Javadoc 2
* Add texture javadoc
* 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
* Add fix for handling removal of old structures.
This fix is required or else worlds where a mod is removed WILL NOT SAVE.
* Only mark for saving if the chunk has a null key
* Add label for issue being fixed
* Actually fix the redirect lol
* Licenses...
* Use ThreadLocal boolean instead of nullable unit
* Checkstyle is picky
* remove unnecessary `containsKey`
* Ported 1.16.1 biomes-api-v1 to 1.16.2.
Public API changes:
- Removed flagging biomes as suitable for player spawns since that is now handled in the Biome Builder.
- Changed API over to RegistryKey's, not because it's necessary, but because it is more ergonomic since Vanilla Biomes in BuiltInBiomes are now all exposed as keys, rather than instances.
* Changed to CheaterCode's mixin for modifying the nether biomes, saving us one accessor.
* Move Bonanza
* Finished moving and updating of the module, added experimental markers.
* Adjusted experimental notes.
* Finished rename from biomes-v1 to biome-api-v1
* Reverted memory settings in preparation for loom-0.5
* Adds a synchronisation for entries in BuiltInRegistries to the built-in DynamicRegistryManager, to a void class-loading DynamicRegistryManager during Mod initialization from messing up the Worldgen registrations of subsequently loaded mods.
* Changed to use updated Yarn mappings.
* 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
* WIP built-in resource packs API.
* Add built-in resource pack register API and fix old injection methods.
* Fix code style.
* Fix code style.
* Add documentation.
* Drop useless else.
* Fix resource packs and data packs isolation issues, and more.
* Move ResourcePackManagerAccessor to its own accessor mixin.
* Make the built-in mod pack test mod work on server too because data pack part.
* Add new argument to built-in pack method and make mod data packs always active.
* Add documentation.
* Complete documentation in GameOptions mixin.
* Remove register built-in pack overload as Player requested.
* Add item renderer with model transformation mode, deprecate old one.
This PR simply adds a new interface which supplies the additional `Mode` parameter.
All old renderers are delegated to an implementation of the new renderer, thereby making this PR still backwards compatable with all existing renderers.
(cherry picked from commit 7c9162e99f48c6e3989eec9a46afaa935d65ce30)
* Update fabric-rendering-v1/src/main/java/net/fabricmc/fabric/api/client/rendering/v1/BuiltinItemRendererWithMode.java
Co-authored-by: shartte <shartte@users.noreply.github.com>
* Rename new interfact to `DynamicItemRenderer`, make it an inner class of the registry class.
* Update fabric-rendering-v1/src/main/java/net/fabricmc/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update BuiltinItemRendererRegistryImpl.java
* Update BuiltinItemRendererRegistryImpl.java
* Imports
* Use ItemConvertible for new render method
* Rename new interfact to `DynamicItemRenderer`, make it an inner class of the registry class.
fabric-rendering-v1/src/main/java/net/fabricmc/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java
* Move inner class out, fix formatting issue in loot-tables with linux oses
* why was this multilined
* license header lol
* Apply suggestions from code review
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Make renderer a nested class again
* putIfAbsent
Co-authored-by: shartte <shartte@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Better consistency with vanilla mobs
* Added a new method for just tracking distance
* Renamed param names
* Update FabricEntityTypeBuilder.java
* Updated v0 for backwards compatibility
* Updated descriptions and parameter names of FabricEntityTypeBuilder
* Added compat with new builders
* Style fix
* Fix style again
* Added backwards compat
* Add FabricItemSettings and an API for custom item equipment slots
Closes#952.
* Bump module version
* Rename duck method to have fabric_ prefix and add Unique to mixin field
* Switch to FabricItemInternals + ExtraData like in FabricBlockSettings
* Add ability to define default attributes within the entity type builder.
* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/entity/FabricDefaultAttributeRegistry.java
Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
* Add ability to specify spawn restriction. Add a Living and Mob builder to handle attributes and spawn restrictions seperately from default builder.
* Let's not cast like a maniac
* Add misc overloads for living builder
* Add a few null checks
* Allow factory to be defined in builder
* Make spawn group a builder parameter
Co-authored-by: Pyrofab <redstoneinfire@gmail.com>