Sakura Lib

Sakura Lib

Mod

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

Client and server LibraryManagementUtility

982 downloads
4 followers
Created10 months ago
Updated2 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Changelog

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

Files

sakuralib-1.6.0+1.20.1.jar(158.13 KiB) Primary Download
sakuralib-1.6.0+1.20.1-sources.jar(102.12 KiB) Download
sakuralib-1.6.0+1.20.4-sources.jar(103.31 KiB) Download
sakuralib-1.6.0+1.20.4.jar(160.21 KiB) Download

Project members

noah1510

Owner


Technical information

Client side
required
Server side
required
Project ID