Added
- Added
LootEntry.of("#tag")
,LootEntry.of("@modid")
to select a random entry from a tag or modid. - Added
LootEntry.ofJson(json)
to create a loot entry from JSON to support custom entries from other mods
Fixed
- Crash with newest kubejs version
Fixed
- Fixed null pointer exception when using
addLootTableModifier
and an entity dies
Add
- Add custom loot function
customFunction(json)
Fix
- Fix bug where loot does not drop for entities on fabric
Changed
- 1.20.1 Release
Changed
- Fix bug where loot does not drop if CraftTweaker is installed together with LootJS on fabric
Changed
- Update to KubeJS 6.1
Added
- Added
LootEntry.when()
andblockEntityPredicate
Fix
- Fix item filters on forge. Moved the specific filters from last update to
ForgeItemFilter.canPerformAnyAction()
andForgeItemFilter.canPerformAction()
.