mirror of
https://github.com/FabricMC/fabric.git
synced 2024-12-02 12:28:13 -05:00
7081616045
* Add resource conditions to dynamic registries
* Support conditions in FabricDynamicRegistryProvider
- Add matching overloads for all add(...) methods which take a varargs
list of ResourceConditions.
- Add an additional overload for registering RegistryEntry.References
directly. This makes it a little easier to register directly from a
RegistryBuilder.
* Throw error if we cannot add resource conditions
* Rename EntryWithConditions to ConditionalEntry
(cherry picked from commit
|
||
---|---|---|
.. | ||
client | ||
main | ||
testmod | ||
testmodClient/java/net/fabricmc/fabric/test/datagen/client |