Перейти к содержимому
Mineforgian

Sakura Lib

A data generation library mod built on top of owo and arrp.

Загрузки
4K
Подписчики
5
Обновлён
30 апреля 2024 г.
Лицензия
LGPL-3.0-only

Опубликован 11 сентября 2023 г.

Sakura Lib

While this is mainly a library mod, it also contains some features that are useful for players.

Player focused features

It contains a mod version tracker for singleplayer worlds. This adds a warning if the mod version was downgraded or the mod removed. There is a config to also warn about updates.

Developer focused features

This is a library mod for more convenient data generation in minecraft mods. It provides a layer on top of owo-lib and ARRP to unify them. This in turn allows for fully automatic data generation and registration.

In addition to that it also added a field in the mod json to specify the mods format version. This is only used for the mod version tracker for now but will allow the use of datafixing in the future.

You can add the following in your fabric.mod.json to set the format version of your mod:

"custom": {
  "sakuralib": {
    "format_version": 1
  }
}

More detailed documentation will be added later.

Ченджлог

1.6.2+1.20.3Релиз1.20.5-rc1, 1.20.5-rc2, 1.20.5-rc3 · 30 апреля 2024 г.

Changelog

1.6.2

  • renamed the generate function in StructurePoolBasesGenerator to hopefully get it working properly
  • changed the changelog structure
  • updated the CI to use the version specific changelog files

1.6.1

  • Removed the VANILLA_GROUP_KEY from the DatagenModContainer
  • Refactored the NameIDPair (no longer a pair but a simple class)
  • Added a StructurePoolBasesGenerator compatibility function (forward porting of the 1.20.0 generate function)
  • Make the sakuralib patchouli book recipe a dynamic recipe (only load if patchouli is present)
  • Removed more relics of the mod version api

1.6.0

  • Removed the mod version API (wasn't really working anyways)
  • Added the version_stability package, this package contains simple abstractions to keep ABI stability across minecraft versions
  • Switched to multi-version project (atm 1.20.0-2 and 1.20.3-4)
1.6.2+1.20.1Релиз1.20.3-pre3, 1.20.3-pre4, 1.20.3-rc1 · 30 апреля 2024 г.

Changelog

1.6.2

  • renamed the generate function in StructurePoolBasesGenerator to hopefully get it working properly
  • changed the changelog structure
  • updated the CI to use the version specific changelog files

1.6.1

  • Removed the VANILLA_GROUP_KEY from the DatagenModContainer
  • Refactored the NameIDPair (no longer a pair but a simple class)
  • Added a StructurePoolBasesGenerator compatibility function (forward porting of the 1.20.0 generate function)
  • Make the sakuralib patchouli book recipe a dynamic recipe (only load if patchouli is present)
  • Removed more relics of the mod version api

1.6.0

  • Removed the mod version API (wasn't really working anyways)
  • Added the version_stability package, this package contains simple abstractions to keep ABI stability across minecraft versions
  • Switched to multi-version project (atm 1.20.0-2 and 1.20.3-4)
1.6.1+1.20.3Релиз1.20.5-rc1, 1.20.5-rc2, 1.20.5-rc3 · 30 апреля 2024 г.

Changelog

1.6.1

  • Removed the VANILLA_GROUP_KEY from the DatagenModContainer
  • Refactored the NameIDPair (no longer a pair but a simple class)
  • Added a StructurePoolBasesGenerator compatibility function (forward porting of the 1.20.0 generate function)
  • Make the sakuralib patchouli book recipe a dynamic recipe (only load if patchouli is present)
  • Removed more relics of the mod version api

1.6.0

  • Removed the mod version API (wasn't really working anyways)
  • Added the version_stability package, this package contains simple abstractions to keep ABI stability across minecraft versions
  • Switched to multi-version project (atm 1.20.0-2 and 1.20.3-4)

1.5.5

  • Backport the BrushableBlock constructor from 1.20.3

1.5.4

  • Updated to arrp 0.8.1
  • Updated loom (1.5) and gradle (8.5)

1.5.3

  • Pretty print most json stuff
  • Revert arrp pack name change

1.5.2

  • Simplified the DynamicPatchouliCategoryContainer functions
    • The old add functions are marked as deprecated
    • The new functions are simply called add (both for entries and categories)
  • Adding DynamicOwOLangManager to add lang entries with rich text support to the rrp
  • Adding SakuraJsonHelper to simplify some json annoyances
  • Adding a JsonObjectBuilder to simplify creating Json Objects
  • Adding a GenericsHelper to simplify some stuff around generics
  • Updated translation files

1.5.1

  • Remove the REGISTER_PATCHOULI_DATA_ON_RELOAD config option
  • Fixing the PatchouliDataManager to actually work as intended
    • Adding a minecraft category by default to have a common place for all vanilla entries
    • After you added your data to DynamicPatchouliCategoryContainer call registerData on the main container!
    • getDynamicCategory now returns an optional

1.5.0

  • Updates to arrp.patchouli
    • Adding JMultiblockPage
    • Deprecate JPachouliCategory#setSecret (use JPachouliCategory#isSecret instead)
  • Added NameIDPair class (this isa pair of a name and its ID together with some helpful access functions)
  • New Patchouli Book API:
    • Sakuralib now adds a single book
    • All mods can add categories to that book using the PatchouliDataManager
    • All categories can have sub categories and entries
    • The old API is still available but are marked as deprecated
  • Added example data package (by default this data is only loaded in a dev environment can always be loaded by setting the config option)
    • Adds a command to dump the sakuralib arrp data

1.4.0

  • switch to maven modrinth for arrp
  • Add the new loot.v2 API
    • The new loot api now uses a functional interface to add loot entries
    • The v1 api now uses the v2 api under the hood (it is still available for backwards compatibility but marked as deprecated)
  • Updates to arrp.patchouli
    • Renamed JRecipePage to JCraftingPage (JRecipePage is still available for backwards compatibility but marked as deprecated)
    • Adding JSmeltingPage
    • Adding JLinkPage (based on JTextPage so it can be the first page in an entry)
    • Adding JEmpltyPage

1.3.4

  • only add macros to book.json if they are not empty
  • Adding a LootSourceHelper to combine multiple loot sources into value and extract that information again
  • Non-breaking changes to the LootTableManager:
    • Adding the sources integer to the LootTableManager for better control where entries are injected
    • add the LootEntryInsert class to simplify the method signatures
    • marking several functions as deprecated (mostly those not using LootEntryInsert)
    • add a function to add one insert into several loot tables at once

1.3.3

  • Add variant of registerPatchouliCategory which allows for a category ID that differs from the name (useful for translations)

1.3.2

  • changing the type of JRecipePage from patchouli:recipe to patchouli:crafting (before was a bug)

1.3.1

  • fixing the generated json for patchouli recipes (a call to super.toJson was missing)

1.3.0

  • initial patchouli support in the arrp v2 package

1.2.2

  • Add a TradeHelper to simplify creating trades (it has compatibility with numismatic overhaul)
  • Add the StructureDataBuilder to arrp.v1.wordgen (this one will see large changes for v2)

1.2.1

  • (bugfix) Use LootPoolEntry instead of LootTableEntry in LootTableManager

1.2.0

  • Add a LootTableManager to allow injecting loot table entries into loot table pools
  • moving the classes to other packages for a cleaner api
  • Disable the warning screen by default and marking it as experimental
  • Update the translations for the options screen
  • No longer have remap=false in WorldEntryMixin

1.1.1

  • making GeneratedWoodTypeBuilder.create public (bugiifx)
  • updated readme with better description

1.1.0

  • Add Ci builds and mc publish support
  • Move away from deprecated WoodType API
  • Create intial verison tracking (Singleplayer only for now)
    • Tracks the version of all mods that were used last time the world was opened
    • Opens a warning screen when mods have been downgraded or removed
    • Config option to also warn on major version updates or all version updates

1.0.0

  • Initial release
  • moving all datagen classes from even better archeology to here
1.6.1+1.20.1Релиз1.20.3-pre3, 1.20.3-pre4, 1.20.3-rc1 · 30 апреля 2024 г.

Changelog

1.6.1

  • Removed the VANILLA_GROUP_KEY from the DatagenModContainer
  • Refactored the NameIDPair (no longer a pair but a simple class)
  • Added a StructurePoolBasesGenerator compatibility function (forward porting of the 1.20.0 generate function)
  • Make the sakuralib patchouli book recipe a dynamic recipe (only load if patchouli is present)
  • Removed more relics of the mod version api

1.6.0

  • Removed the mod version API (wasn't really working anyways)
  • Added the version_stability package, this package contains simple abstractions to keep ABI stability across minecraft versions
  • Switched to multi-version project (atm 1.20.0-2 and 1.20.3-4)

1.5.5

  • Backport the BrushableBlock constructor from 1.20.3

1.5.4

  • Updated to arrp 0.8.1
  • Updated loom (1.5) and gradle (8.5)

1.5.3

  • Pretty print most json stuff
  • Revert arrp pack name change

1.5.2

  • Simplified the DynamicPatchouliCategoryContainer functions
    • The old add functions are marked as deprecated
    • The new functions are simply called add (both for entries and categories)
  • Adding DynamicOwOLangManager to add lang entries with rich text support to the rrp
  • Adding SakuraJsonHelper to simplify some json annoyances
  • Adding a JsonObjectBuilder to simplify creating Json Objects
  • Adding a GenericsHelper to simplify some stuff around generics
  • Updated translation files

1.5.1

  • Remove the REGISTER_PATCHOULI_DATA_ON_RELOAD config option
  • Fixing the PatchouliDataManager to actually work as intended
    • Adding a minecraft category by default to have a common place for all vanilla entries
    • After you added your data to DynamicPatchouliCategoryContainer call registerData on the main container!
    • getDynamicCategory now returns an optional

1.5.0

  • Updates to arrp.patchouli
    • Adding JMultiblockPage
    • Deprecate JPachouliCategory#setSecret (use JPachouliCategory#isSecret instead)
  • Added NameIDPair class (this isa pair of a name and its ID together with some helpful access functions)
  • New Patchouli Book API:
    • Sakuralib now adds a single book
    • All mods can add categories to that book using the PatchouliDataManager
    • All categories can have sub categories and entries
    • The old API is still available but are marked as deprecated
  • Added example data package (by default this data is only loaded in a dev environment can always be loaded by setting the config option)
    • Adds a command to dump the sakuralib arrp data

1.4.0

  • switch to maven modrinth for arrp
  • Add the new loot.v2 API
    • The new loot api now uses a functional interface to add loot entries
    • The v1 api now uses the v2 api under the hood (it is still available for backwards compatibility but marked as deprecated)
  • Updates to arrp.patchouli
    • Renamed JRecipePage to JCraftingPage (JRecipePage is still available for backwards compatibility but marked as deprecated)
    • Adding JSmeltingPage
    • Adding JLinkPage (based on JTextPage so it can be the first page in an entry)
    • Adding JEmpltyPage

1.3.4

  • only add macros to book.json if they are not empty
  • Adding a LootSourceHelper to combine multiple loot sources into value and extract that information again
  • Non-breaking changes to the LootTableManager:
    • Adding the sources integer to the LootTableManager for better control where entries are injected
    • add the LootEntryInsert class to simplify the method signatures
    • marking several functions as deprecated (mostly those not using LootEntryInsert)
    • add a function to add one insert into several loot tables at once

1.3.3

  • Add variant of registerPatchouliCategory which allows for a category ID that differs from the name (useful for translations)

1.3.2

  • changing the type of JRecipePage from patchouli:recipe to patchouli:crafting (before was a bug)

1.3.1

  • fixing the generated json for patchouli recipes (a call to super.toJson was missing)

1.3.0

  • initial patchouli support in the arrp v2 package

1.2.2

  • Add a TradeHelper to simplify creating trades (it has compatibility with numismatic overhaul)
  • Add the StructureDataBuilder to arrp.v1.wordgen (this one will see large changes for v2)

1.2.1

  • (bugfix) Use LootPoolEntry instead of LootTableEntry in LootTableManager

1.2.0

  • Add a LootTableManager to allow injecting loot table entries into loot table pools
  • moving the classes to other packages for a cleaner api
  • Disable the warning screen by default and marking it as experimental
  • Update the translations for the options screen
  • No longer have remap=false in WorldEntryMixin

1.1.1

  • making GeneratedWoodTypeBuilder.create public (bugiifx)
  • updated readme with better description

1.1.0

  • Add Ci builds and mc publish support
  • Move away from deprecated WoodType API
  • Create intial verison tracking (Singleplayer only for now)
    • Tracks the version of all mods that were used last time the world was opened
    • Opens a warning screen when mods have been downgraded or removed
    • Config option to also warn on major version updates or all version updates

1.0.0

  • Initial release
  • moving all datagen classes from even better archeology to here
1.6.0Релиз1.20.3-pre3, 1.20.3-pre4, 1.20.3-rc1 · 25 апреля 2024 г.

Changelog

1.6.0

  • Removed the mod version API (wasn't really working anyways)
  • Added the version_stability package, this package contains simple abstractions to keep ABI stability across minecraft versions
  • Switched to multi-version project (atm 1.20.1-2 and 1.20.3-4)

1.5.5

  • Backport the BrushableBlock constructor from 1.20.3

1.5.4

  • Updated to arrp 0.8.1
  • Updated loom (1.5) and gradle (8.5)

1.5.3

  • Pretty print most json stuff
  • Revert arrp pack name change

1.5.2

  • Simplified the DynamicPatchouliCategoryContainer functions
    • The old add functions are marked as deprecated
    • The new functions are simply called add (both for entries and categories)
  • Adding DynamicOwOLangManager to add lang entries with rich text support to the rrp
  • Adding SakuraJsonHelper to simplify some json annoyances
  • Adding a JsonObjectBuilder to simplify creating Json Objects
  • Adding a GenericsHelper to simplify some stuff around generics
  • Updated translation files

1.5.1

  • Remove the REGISTER_PATCHOULI_DATA_ON_RELOAD config option
  • Fixing the PatchouliDataManager to actually work as intended
    • Adding a minecraft category by default to have a common place for all vanilla entries
    • After you added your data to DynamicPatchouliCategoryContainer call registerData on the main container!
    • getDynamicCategory now returns an optional

1.5.0

  • Updates to arrp.patchouli
    • Adding JMultiblockPage
    • Deprecate JPachouliCategory#setSecret (use JPachouliCategory#isSecret instead)
  • Added NameIDPair class (this isa pair of a name and its ID together with some helpful access functions)
  • New Patchouli Book API:
    • Sakuralib now adds a single book
    • All mods can add categories to that book using the PatchouliDataManager
    • All categories can have sub categories and entries
    • The old API is still available but are marked as deprecated
  • Added example data package (by default this data is only loaded in a dev environment can always be loaded by setting the config option)
    • Adds a command to dump the sakuralib arrp data

1.4.0

  • switch to maven modrinth for arrp
  • Add the new loot.v2 API
    • The new loot api now uses a functional interface to add loot entries
    • The v1 api now uses the v2 api under the hood (it is still available for backwards compatibility but marked as deprecated)
  • Updates to arrp.patchouli
    • Renamed JRecipePage to JCraftingPage (JRecipePage is still available for backwards compatibility but marked as deprecated)
    • Adding JSmeltingPage
    • Adding JLinkPage (based on JTextPage so it can be the first page in an entry)
    • Adding JEmpltyPage

1.3.4

  • only add macros to book.json if they are not empty
  • Adding a LootSourceHelper to combine multiple loot sources into value and extract that information again
  • Non-breaking changes to the LootTableManager:
    • Adding the sources integer to the LootTableManager for better control where entries are injected
    • add the LootEntryInsert class to simplify the method signatures
    • marking several functions as deprecated (mostly those not using LootEntryInsert)
    • add a function to add one insert into several loot tables at once

1.3.3

  • Add variant of registerPatchouliCategory which allows for a category ID that differs from the name (useful for translations)

1.3.2

  • changing the type of JRecipePage from patchouli:recipe to patchouli:crafting (before was a bug)

1.3.1

  • fixing the generated json for patchouli recipes (a call to super.toJson was missing)

1.3.0

  • initial patchouli support in the arrp v2 package

1.2.2

  • Add a TradeHelper to simplify creating trades (it has compatibility with numismatic overhaul)
  • Add the StructureDataBuilder to arrp.v1.wordgen (this one will see large changes for v2)

1.2.1

  • (bugfix) Use LootPoolEntry instead of LootTableEntry in LootTableManager

1.2.0

  • Add a LootTableManager to allow injecting loot table entries into loot table pools
  • moving the classes to other packages for a cleaner api
  • Disable the warning screen by default and marking it as experimental
  • Update the translations for the options screen
  • No longer have remap=false in WorldEntryMixin

1.1.1

  • making GeneratedWoodTypeBuilder.create public (bugiifx)
  • updated readme with better description

1.1.0

  • Add Ci builds and mc publish support
  • Move away from deprecated WoodType API
  • Create intial verison tracking (Singleplayer only for now)
    • Tracks the version of all mods that were used last time the world was opened
    • Opens a warning screen when mods have been downgraded or removed
    • Config option to also warn on major version updates or all version updates

1.0.0

  • Initial release
  • moving all datagen classes from even better archeology to here
1.5.5Релиз1.20, 1.20.1, 1.20.2 · 24 апреля 2024 г.

Changelog

1.5.5

  • Backport the BrushableBlock constructor from 1.20.3

1.5.4

The 1.5.x series it the last that targets minecraft 1.20.1. Unless a hotfix is needed, 1.5.4 will be the last release in the 1.5.x series.

  • Updated to arrp 0.8.1
  • Updated loom (1.5) and gradle (8.5)

1.5.3

  • Pretty print most json stuff
  • Revert arrp pack name change

1.5.2

  • Simplified the DynamicPatchouliCategoryContainer functions
    • The old add functions are marked as deprecated
    • The new functions are simply called add (both for entries and categories)
  • Adding DynamicOwOLangManager to add lang entries with rich text support to the rrp
  • Adding SakuraJsonHelper to simplify some json annoyances
  • Adding a JsonObjectBuilder to simplify creating Json Objects
  • Adding a GenericsHelper to simplify some stuff around generics
  • Updated translation files

1.5.1

  • Remove the REGISTER_PATCHOULI_DATA_ON_RELOAD config option
  • Fixing the PatchouliDataManager to actually work as intended
    • Adding a minecraft category by default to have a common place for all vanilla entries
    • After you added your data to DynamicPatchouliCategoryContainer call registerData on the main container!
    • getDynamicCategory now returns an optional

1.5.0

  • Updates to arrp.patchouli
    • Adding JMultiblockPage
    • Deprecate JPachouliCategory#setSecret (use JPachouliCategory#isSecret instead)
  • Added NameIDPair class (this isa pair of a name and its ID together with some helpful access functions)
  • New Patchouli Book API:
    • Sakuralib now adds a single book
    • All mods can add categories to that book using the PatchouliDataManager
    • All categories can have sub categories and entries
    • The old API is still available but are marked as deprecated
  • Added example data package (by default this data is only loaded in a dev environment can always be loaded by setting the config option)
    • Adds a command to dump the sakuralib arrp data

1.4.0

  • switch to maven modrinth for arrp
  • Add the new loot.v2 API
    • The new loot api now uses a functional interface to add loot entries
    • The v1 api now uses the v2 api under the hood (it is still available for backwards compatibility but marked as deprecated)
  • Updates to arrp.patchouli
    • Renamed JRecipePage to JCraftingPage (JRecipePage is still available for backwards compatibility but marked as deprecated)
    • Adding JSmeltingPage
    • Adding JLinkPage (based on JTextPage so it can be the first page in an entry)
    • Adding JEmpltyPage

1.3.4

  • only add macros to book.json if they are not empty
  • Adding a LootSourceHelper to combine multiple loot sources into value and extract that information again
  • Non-breaking changes to the LootTableManager:
    • Adding the sources integer to the LootTableManager for better control where entries are injected
    • add the LootEntryInsert class to simplify the method signatures
    • marking several functions as deprecated (mostly those not using LootEntryInsert)
    • add a function to add one insert into several loot tables at once

1.3.3

  • Add variant of registerPatchouliCategory which allows for a category ID that differs from the name (useful for translations)

1.3.2

  • changing the type of JRecipePage from patchouli:recipe to patchouli:crafting (before was a bug)

1.3.1

  • fixing the generated json for patchouli recipes (a call to super.toJson was missing)

1.3.0

  • initial patchouli support in the arrp v2 package

1.2.2

  • Add a TradeHelper to simplify creating trades (it has compatibility with numismatic overhaul)
  • Add the StructureDataBuilder to arrp.v1.wordgen (this one will see large changes for v2)

1.2.1

  • (bugfix) Use LootPoolEntry instead of LootTableEntry in LootTableManager

1.2.0

  • Add a LootTableManager to allow injecting loot table entries into loot table pools
  • moving the classes to other packages for a cleaner api
  • Disable the warning screen by default and marking it as experimental
  • Update the translations for the options screen
  • No longer have remap=false in WorldEntryMixin

1.1.1

  • making GeneratedWoodTypeBuilder.create public (bugiifx)
  • updated readme with better description

1.1.0

  • Add Ci builds and mc publish support
  • Move away from deprecated WoodType API
  • Create intial verison tracking (Singleplayer only for now)
    • Tracks the version of all mods that were used last time the world was opened
    • Opens a warning screen when mods have been downgraded or removed
    • Config option to also warn on major version updates or all version updates

1.0.0

  • Initial release
  • moving all datagen classes from even better archeology to here
1.5.4Релиз1.20, 1.20.1, 1.20.2 · 23 апреля 2024 г.

Changelog

1.5.4

The 1.5.x series it the last that targets minecraft 1.20.1. Unless a hotfix is needed, 1.5.4 will be the last release in the 1.5.x series.

  • Updated to arrp 0.8.1
  • Updated loom (1.5) and gradle (8.5)

1.5.3

  • Pretty print most json stuff
  • Revert arrp pack name change

1.5.2

  • Simplified the DynamicPatchouliCategoryContainer functions
    • The old add functions are marked as deprecated
    • The new functions are simply called add (both for entries and categories)
  • Adding DynamicOwOLangManager to add lang entries with rich text support to the rrp
  • Adding SakuraJsonHelper to simplify some json annoyances
  • Adding a JsonObjectBuilder to simplify creating Json Objects
  • Adding a GenericsHelper to simplify some stuff around generics
  • Updated translation files

1.5.1

  • Remove the REGISTER_PATCHOULI_DATA_ON_RELOAD config option
  • Fixing the PatchouliDataManager to actually work as intended
    • Adding a minecraft category by default to have a common place for all vanilla entries
    • After you added your data to DynamicPatchouliCategoryContainer call registerData on the main container!
    • getDynamicCategory now returns an optional

1.5.0

  • Updates to arrp.patchouli
    • Adding JMultiblockPage
    • Deprecate JPachouliCategory#setSecret (use JPachouliCategory#isSecret instead)
  • Added NameIDPair class (this isa pair of a name and its ID together with some helpful access functions)
  • New Patchouli Book API:
    • Sakuralib now adds a single book
    • All mods can add categories to that book using the PatchouliDataManager
    • All categories can have sub categories and entries
    • The old API is still available but are marked as deprecated
  • Added example data package (by default this data is only loaded in a dev environment can always be loaded by setting the config option)
    • Adds a command to dump the sakuralib arrp data

1.4.0

  • switch to maven modrinth for arrp
  • Add the new loot.v2 API
    • The new loot api now uses a functional interface to add loot entries
    • The v1 api now uses the v2 api under the hood (it is still available for backwards compatibility but marked as deprecated)
  • Updates to arrp.patchouli
    • Renamed JRecipePage to JCraftingPage (JRecipePage is still available for backwards compatibility but marked as deprecated)
    • Adding JSmeltingPage
    • Adding JLinkPage (based on JTextPage so it can be the first page in an entry)
    • Adding JEmpltyPage

1.3.4

  • only add macros to book.json if they are not empty
  • Adding a LootSourceHelper to combine multiple loot sources into value and extract that information again
  • Non-breaking changes to the LootTableManager:
    • Adding the sources integer to the LootTableManager for better control where entries are injected
    • add the LootEntryInsert class to simplify the method signatures
    • marking several functions as deprecated (mostly those not using LootEntryInsert)
    • add a function to add one insert into several loot tables at once

1.3.3

  • Add variant of registerPatchouliCategory which allows for a category ID that differs from the name (useful for translations)

1.3.2

  • changing the type of JRecipePage from patchouli:recipe to patchouli:crafting (before was a bug)

1.3.1

  • fixing the generated json for patchouli recipes (a call to super.toJson was missing)

1.3.0

  • initial patchouli support in the arrp v2 package

1.2.2

  • Add a TradeHelper to simplify creating trades (it has compatibility with numismatic overhaul)
  • Add the StructureDataBuilder to arrp.v1.wordgen (this one will see large changes for v2)

1.2.1

  • (bugfix) Use LootPoolEntry instead of LootTableEntry in LootTableManager

1.2.0

  • Add a LootTableManager to allow injecting loot table entries into loot table pools
  • moving the classes to other packages for a cleaner api
  • Disable the warning screen by default and marking it as experimental
  • Update the translations for the options screen
  • No longer have remap=false in WorldEntryMixin

1.1.1

  • making GeneratedWoodTypeBuilder.create public (bugiifx)
  • updated readme with better description

1.1.0

  • Add Ci builds and mc publish support
  • Move away from deprecated WoodType API
  • Create intial verison tracking (Singleplayer only for now)
    • Tracks the version of all mods that were used last time the world was opened
    • Opens a warning screen when mods have been downgraded or removed
    • Config option to also warn on major version updates or all version updates

1.0.0

  • Initial release
  • moving all datagen classes from even better archeology to here
1.5.3Релиз1.20.2-rc1, 1.20.2-rc2, 1.20.2 · 12 октября 2023 г.

Changelog

1.5.3

  • Pretty print most json stuff
  • Revert arrp pack name change

1.5.2

  • Simplified the DynamicPatchouliCategoryContainer functions
    • The old add functions are marked as deprecated
    • The new functions are simply called add (both for entries and categories)
  • Adding DynamicOwOLangManager to add lang entries with rich text support to the rrp
  • Adding SakuraJsonHelper to simplify some json annoyances
  • Adding a JsonObjectBuilder to simplify creating Json Objects
  • Adding a GenericsHelper to simplify some stuff around generics
  • Updated translation files

1.5.1

  • Remove the REGISTER_PATCHOULI_DATA_ON_RELOAD config option
  • Fixing the PatchouliDataManager to actually work as intended
    • Adding a minecraft category by default to have a common place for all vanilla entries
    • After you added your data to DynamicPatchouliCategoryContainer call registerData on the main container!
    • getDynamicCategory now returns an optional

1.5.0

  • Updates to arrp.patchouli
    • Adding JMultiblockPage
    • Deprecate JPachouliCategory#setSecret (use JPachouliCategory#isSecret instead)
  • Added NameIDPair class (this isa pair of a name and its ID together with some helpful access functions)
  • New Patchouli Book API:
    • Sakuralib now adds a single book
    • All mods can add categories to that book using the PatchouliDataManager
    • All categories can have sub categories and entries
    • The old API is still available but are marked as deprecated
  • Added example data package (by default this data is only loaded in a dev environment can always be loaded by setting the config option)
    • Adds a command to dump the sakuralib arrp data

1.4.0

  • switch to maven modrinth for arrp
  • Add the new loot.v2 API
    • The new loot api now uses a functional interface to add loot entries
    • The v1 api now uses the v2 api under the hood (it is still available for backwards compatibility but marked as deprecated)
  • Updates to arrp.patchouli
    • Renamed JRecipePage to JCraftingPage (JRecipePage is still available for backwards compatibility but marked as deprecated)
    • Adding JSmeltingPage
    • Adding JLinkPage (based on JTextPage so it can be the first page in an entry)
    • Adding JEmpltyPage

1.3.4

  • only add macros to book.json if they are not empty
  • Adding a LootSourceHelper to combine multiple loot sources into value and extract that information again
  • Non-breaking changes to the LootTableManager:
    • Adding the sources integer to the LootTableManager for better control where entries are injected
    • add the LootEntryInsert class to simplify the method signatures
    • marking several functions as deprecated (mostly those not using LootEntryInsert)
    • add a function to add one insert into several loot tables at once

1.3.3

  • Add variant of registerPatchouliCategory which allows for a category ID that differs from the name (useful for translations)

1.3.2

  • changing the type of JRecipePage from patchouli:recipe to patchouli:crafting (before was a bug)

1.3.1

  • fixing the generated json for patchouli recipes (a call to super.toJson was missing)

1.3.0

  • initial patchouli support in the arrp v2 package

1.2.2

  • Add a TradeHelper to simplify creating trades (it has compatibility with numismatic overhaul)
  • Add the StructureDataBuilder to arrp.v1.wordgen (this one will see large changes for v2)

1.2.1

  • (bugfix) Use LootPoolEntry instead of LootTableEntry in LootTableManager

1.2.0

  • Add a LootTableManager to allow injecting loot table entries into loot table pools
  • moving the classes to other packages for a cleaner api
  • Disable the warning screen by default and marking it as experimental
  • Update the translations for the options screen
  • No longer have remap=false in WorldEntryMixin

1.1.1

  • making GeneratedWoodTypeBuilder.create public (bugiifx)
  • updated readme with better description

1.1.0

  • Add Ci builds and mc publish support
  • Move away from deprecated WoodType API
  • Create intial verison tracking (Singleplayer only for now)
    • Tracks the version of all mods that were used last time the world was opened
    • Opens a warning screen when mods have been downgraded or removed
    • Config option to also warn on major version updates or all version updates

1.0.0

  • Initial release
  • moving all datagen classes from even better archeology to here

Комментарии

Загружаем…