LootJS: KubeJS Addon
A Minecraft mod for packdevs to easily modify the loot system with KubeJS.
9.0M
75
- Allow composite loot entries like alternatives, sequences and groups in
replaceLootaction
- Allow composite loot entries like alternatives, sequences and groups in
Fixed
- Fixed #32
Fixed
- Fixed #32
- Fix
addConditionnot being visible for loot condition containers
- Fix
- Add `ItemFilter.hasComponent()
- Add
.replaceLoot(filter, lootEntry, preserveCount, preserveComponentTypes)action to allow preserving certain component types when replacing loot
- Update to KubeJS 7.2
- Fix internal access to private constructor
SetComponentsFunction
- Fix internal access to private constructor
- Refactor different
ItemFiltersinto own classes
- Refactor different
- Added some access to private fields
Fixed
- Fixed #23
Fixed
- Fixed #23
- Added
getPools,modifyPool,getPool,modifyPoolByName,getPoolByNameto loot tables - Added
hasItemfor pools and grouped loot entries
- Added
- Added
matchAnyInventorySlot(itemFilter)andmatchAnyHotbarSlot(itemFilter)
- Added
- Fix loot modification being skipped when loot table doesn't contain any entries
- Fix
printmethod for loot tables. Will now print the entries correctly. - Fix
matchCustomConditionandjsonFunctionusing wrong codec.
- Fix
- Remove
addItemfor loot pools. Prefer to useaddEntry - Deprecate
addTypeModifierinLootJS.modifiersand will be removed in future updates, useaddTableModifierwith a LootType instead. - Deprecate
modifyLootTypeTablesinLootJS.lootTablesand will be removed in future updates, usemodifyLootTableswith a LootType instead.
- Remove
- Fix
.createin loot tables event
- Fix
- Bump kubejs version
- Add quick way to negate simple
ItemFilters like tag or id filter by using!, e.g.!#c:tools - Fix regex handling with id filters
- Rename
removeGlobalModifiertoremoveGlobalModifiersinLootJS.modifiersevent.
- Add quick way to negate simple
Fixes
- Fix error
Tag does not existwhen using ItemPredicates with tags
- Fix error
1
...Совместимость
Сведения
Лицензия:
Опубликован:3 года назад
Обновлён:1 месяц назад
ID проекта: