Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Implemented features

  1. RegistryEvent.NewRegistry for allowing forge mods to add their own registry
  2. RegistryEvent.Register for different in-game object registration and forge mods' custom registry
  3. (TODO 9) StructureFeature and Feature registry
  4. IForgeRegistry callbacks: CreateCallback, AddCallback and ClearCallback
  5. Default entry support
  6. Slave maps for wrapped vanilla registries: IForgeRegistry#getSlaveMap
  7. (TODO 2) A fully modifiable registry for custom Forge mod registries
  8. (TODO 5) Forge mods can now access fabric registries via the vanilla registry, if they really need to.

TODO

  1. StructureFeature registration needs more testing
  2. A fully modifiable Forge mod registry implementation
  3. Code clean up in ForgeRegistries, the entry order should match Forge's version.
  4. Custom forge registries and Patchwork's wrapper implementation, see GameData:
public static final Identifier MODDIMENSIONS = new Identifier("forge:moddimensions");
public static final Identifier SERIALIZERS = new Identifier("minecraft:dataserializers");
public static final Identifier LOOT_MODIFIER_SERIALIZERS = new Identifier("forge:loot_modifier_serializers");
  1. Make fabric registries visible to Forge mods (Carefully consider this!)
  2. Unimplemented features in ForgeRegistry and RegistryManager: saveToDisk, legacyName, alias, sync, dump
  3. Unimplemented IForgeRegistry callbacks: ValidateCallback, BakeCallback, DummyFactory and MissingFactory
  4. Some vanilla registry types are not patched yet, add checks to avoid crash, see ForgeRegistry#<init>
  5. Make callbacks for handling StructureFeature registry

Note

  1. Vanilla and Fabric registry system does not support replacement and clearing, an error will be thrown if such operation is performed by a Forge mod