* 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>
* Add callback to allow registration of feature renderers.
* Laymans terms for those who don't map yarn for a living.
* Be a little less generic
* Dispatch events in a better spot, play with generics again, move to renderer-registries.
Also move this to render registries
* Handle players as well
* Tweak generics
* Hide acceptor impl
* Add actual testmod, fix where player events are fired, Simplify to returning a list.
* the old style worked fine
* registerRenderers
* Rename the event interface
* Javadoc fixes
* Create GameRule API
* Some tweaks
* gamerule -> game-rule
* Fix translation keys and update to 20w22a
* Command results and remove unnessecary factory method
* Update to 1.16-pre1
* Update fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/FabricRuleTypeConsumer.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* I like final things
* Update to 1.16-pre3, change enum button style
* checkstyle
* use right min values
* Document ValidatableRule
* Document LiteralRule, clarify generics
* Update to 20w27a
* Rename some parts to compensate for future yarn renames.
Flatten some logic related to EnumRules
* forgot one
* javadoc galore
* finish javadoc
* Start things
* Update to 20w29a, drop float rule
* Make cycle naming more accurate
* Convert colors to hex
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
* Update to 20w30a
* imports again
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
* Decoupled effective checks and mining speed
* Fixed typo
* Bump major for method sig change
* Fix semvar
* Re-add original API method
* Extend test mod
* Fix bug discovered by testing
* Change current to vanillaResult, update doc for postProcessMiningSpeed
* Remove </p> tag
* Add vanilla tests and rename vars
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).
* 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
* Add a few new server lifecycle events
Server starting, Load World, Before server resource reload, After server resource reload
* Save event
* Split world load into ServerWorldEvents, add failure event for data pack reload
* cause
* Merge fail and regular end.
* Present tense lol
* So we can just plainly specify the system properties
* use handleAsync instead