LootTweaker

A CraftTweaker addon that allows loot tables to be edited with ZenScript

File Details

LootTweaker-0.3.0+MC1.12.2 with old parser

  • R
  • Oct 21, 2021
  • 109.37 KB
  • 171.2K
  • 1.12.2+2
  • Forge

File Name

LootTweaker-0.3.0+oldparsing-MC1.12.2.jar

Supported Versions

  • 1.12.2
  • 1.12.1
  • 1.12

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:loottweaker-255257:3497720")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

This is a variant release of 0.3.0 with all changes except for the new parsing system, as it has major issues.
i.e. the ___Json and ___Helper methods are not deprecated, and the suffixless methods do not have variants that accept functions and/or conditions.
Documentation for this release is available at https://loottweaker-docs.readthedocs.io/en/0.3.0-old-parsing/
Compared to 0.2.0
Additions

  • Added errors when passing null where it's invalid
  • Added LootFunction.addConditionsHelper(LootCondition[]) & LootFunction.addConditionsJson(DataMap[])
  • Implemented forced class initialisation config. This is a workaround for certain issues, you'll be told how to use it if you need to.
  • Added support for custom loot function/condition creation via Functions.zenscript()/Conditions.zenscript()
  • Added configuration options for all warnings

Bugfixes

  • Fixed issues with null conditions or functions arrays
  • Fixed loot table dumping stopping completely when a table cannot be dumped