Apollounknowndev / lithostitched

A library mod with new configurability and compatibility enhancements for worldgen
MIT License
5 stars 2 forks source link

[FR] Add function to create GuaranteedPoolElement for data generation #10

Closed SettingDust closed 1 week ago

SettingDust commented 3 weeks ago

For now the constructors are protected that can't be created in data generator

SettingDust commented 3 weeks ago

The GuaranteedPoolElement#GUARANTEED_TYPE isn't the type instance in registries. We can't construct the instance and pass as any param. GuaranteedPoolElement#GUARANTEED_TYPE should be fetched from registry. Or should be passed to registry instead of construct the new one. A catalog class like StructurePoolElementType in vanilla is fine

Apollounknowndev commented 1 week ago

Done in v1.2.2