Isle of Berk Variant Loader

Isle of Berk Variant Loader

Mod

Support for data-driven dragon variants for Isle of Berk mod

Client and server DecorationLibrary Mobs

11.2k downloads
9 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
  • Fix egg item model redirects overriding item models of eggs of other variants
  • Client config no longer creates unnecessary backup files (bug fix)
  • Updated translation/localisation key generator to support new localisaton keys
  • Translation/localisation key generator now only generates keys for variants that have model redirect
  • Added possibility to redirect egg textures, models and item models per variant
  • Added possibility to redirect localisation keys used for dragon and egg entities and egg item if those don't have custom name (this may not work for already existing eggs, thank IoB's sheetcode)
  • Minimal required Forge version is now 40.2.10
  • Added possibility to specify full path to asset file in model redirects
  • Some perfomance enchasements
  • Variants with capital letters in the name no longer crash the game

The 2.0.0 update

Initially released as beta due amount of changes

Changelog:

  • Entire backend was rewritten, so some unexpected things may be expected
  • Added asset path caching for optimization
  • Added inheritance for breeding (behaviour can be edited via config)
  • By default there's 70% chance to inherit parent's variant (independent from place of breeding). If config value inheritance_chance (in iob_variant_loader.toml) set to 0, variant from breeding will be always random
  • Eggs of all species now can have predetermined variant
  • If egg has variant, it'll be applied on hatching (behaviour can be edited via config)
  • Variant on the egg determined by place of parents breeding rather the place of egg hatching (behaviour can be edited via config)
  • The variant that egg has is shown at tooltip. If it's invalid, some gibberish will appear

Regarding data and resource packs:

  • Added field "nametag_accessible" for model redirects. If set to false, this variant cannot be applied via nametag. If not specified, defaults to true
  • Variant name shown in tooltip can be edited via language file (changes only displayed name in tooltip, doesn't change actual name of the variant)
  • Deadly Nadder membranes now accept it's own glowing layer
  • Added field "breeding_weight" for variant spawn declaration. Determines weight of the variant in breeding. If set to 0, variant cannot be obtained from breeding. If not specified, defaults to value specified in "weight"
  • "weight" field is now only responsible for variants for wild dragons (naturally generated) All old packs should work as before

Added client config (iob_variant_loader-client.toml) with following fields:

  • disable_glowing - disables glowing layer on dragons. False by default
  • disable_named_variants - disables nametag variants, instead shows actual dragon variant. False by default
  • generate_translations - autogenerates translation keys for variants added via resource packs
  • ignored_by_generator, ignored_by_generator_endings - some filters for key generator
  • Glow layer is now can be added as texture file rather than .mcmeta file (just add "texturename_glowing.png" alongside regular texture (in case of this example regular texture would be "texturename.png"))
  • Saddle texture now can be redirected
  • Fixed mod trying to look path for "gronkle" instead of "gronckle" within assets folder

Fix crash when model redirect is used within the pack that is in archive format

  • Mod will now check its presence on client if installed on server to avoid any possible issues caused by its absence
  • Improved reading of json files, so those pesky errors of failed datapack reading should be gone

Added possibility to redirect animation and model files for specific names or variants via resource packs (check example resource pack to see how to do it)

  • Glow layer support (example)
  • Ability to add variants to spawn pool without overwriting main file in iobvariantloader namespace (example)

Fixed crash caused by unremapped mixin

Added dragon variant name assignment for eggs

Initial release


Project members

Nord_Act

Owner

Details

Licensed MIT
Published a year ago
Updated 5 months ago