fabric/fabric-data-generation-api-v1
Jonathan Coates 7081616045 Registry resource conditions (#3752)
* 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 a5d5299dfb)
2024-05-20 09:33:44 +01:00
..
src Registry resource conditions (#3752) 2024-05-20 09:33:44 +01:00
.gitignore Fabric Data Generation API (#1824) 2021-12-03 13:35:29 +00:00
build.gradle 24w19b 2024-05-10 16:33:03 +01:00
pack.mcmeta Generate a test datapack from the datagen testmod output. (#2824) 2023-01-05 12:50:01 +00:00
template.accesswidener 24w18a (#3757) 2024-05-04 14:28:29 +01:00