LootJS: KubeJS AddonСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (70)
release
LootJS-NeoForge-26.1.2-4.0.0
26.1.2-4.0.0+neoforge3 авг. 2026 г.591Minecraft: 26.1.2neoforge
Что нового
- Port to 26.1
- Due to internal Minecraft changes `Item.of` does not work anymore inside `LootJS.lootTables` event. Use `LootEntry.of`
instead.
release
LootJS-NeoForge-1.21.1-3.7.0
1.21.1-3.7.0+neoforge29 апр. 2026 г.105,4 тыс.Minecraft: 1.21.1neoforge
Что нового
- Allow composite loot entries like alternatives, sequences and groups in `replaceLoot` action
release
LootJS-Fabric-1.20.1-2.13.1
1.20.1-2.13.1+fabric30 янв. 2026 г.14,2 тыс.Minecraft: 1.20.1fabric
Что нового
### Fixed
- Fixed [#32](https://github.com/AlmostReliable/lootjs/issues/32)
release
LootJS-Forge-1.20.1-2.13.1
1.20.1-2.13.1+forge30 янв. 2026 г.1,6 млнMinecraft: 1.20.1forge, neoforge
Что нового
### Fixed
- Fixed [#32](https://github.com/AlmostReliable/lootjs/issues/32)
release
LootJS-NeoForge-1.21.1-3.6.1
1.21.1-3.6.1+neoforge2 янв. 2026 г.36,8 тыс.Minecraft: 1.21.1neoforge
Что нового
- Fix `addCondition` not being visible for loot condition containers
release
LootJS-NeoForge-1.21.1-3.6.0
1.21.1-3.6.0+neoforge14 окт. 2025 г.29,7 тыс.Minecraft: 1.21.1neoforge
Что нового
- Add `ItemFilter.hasComponent()
- Add `.replaceLoot(filter, lootEntry, preserveCount, preserveComponentTypes)` action to allow preserving certain
component types when replacing loot
release
LootJS-NeoForge-1.21.1-3.5.0
1.21.1-3.5.0+neoforge13 окт. 2025 г.226Minecraft: 1.21.1neoforge
Что нового
- Update to KubeJS 7.2
release
LootJS-NeoForge-1.21.1-3.4.3
1.21.1-3.4.3+neoforge9 авг. 2025 г.35 тыс.Minecraft: 1.21.1neoforge
Что нового
- Fix internal access to private constructor `SetComponentsFunction`
release
LootJS-NeoForge-1.21.1-3.4.2
1.21.1-3.4.2+neoforge20 июл. 2025 г.13,8 тыс.Minecraft: 1.21.1neoforge
Что нового
- Refactor different ` ItemFilters` into own classes
release
LootJS-NeoForge-1.21.1-3.4.1
1.21.1-3.4.1+neoforge20 июл. 2025 г.125Minecraft: 1.21.1neoforge
Что нового
- Added some access to private fields
release
LootJS-Fabric-1.20.1-2.13.0
1.20.1-2.13.0+fabric8 мая 2025 г.17,8 тыс.Minecraft: 1.20.1fabric
Что нового
### Fixed
- Fixed [#23](https://github.com/AlmostReliable/lootjs/issues/23)
release
LootJS-Forge-1.20.1-2.13.0
1.20.1-2.13.0+forge8 мая 2025 г.6,2 млнMinecraft: 1.20.1forge, neoforge
Что нового
### Fixed
- Fixed [#23](https://github.com/AlmostReliable/lootjs/issues/23)
release
LootJS-NeoForge-1.21.1-3.4.0
1.21.1-3.4.0+neoforge21 мар. 2025 г.45,9 тыс.Minecraft: 1.21.1neoforge
Что нового
- Added `getPools`, `modifyPool`, `getPool`, `modifyPoolByName`, `getPoolByName` to loot tables
- Added `hasItem` for pools and grouped loot entries
release
LootJS-NeoForge-1.21.1-3.2.2
1.21.1-3.2.2+neoforge27 окт. 2024 г.1,9 тыс.Minecraft: 1.21.1neoforge
Что нового
- Added `matchAnyInventorySlot(itemFilter)` and `matchAnyHotbarSlot(itemFilter)`
release
LootJS-NeoForge-1.21.1-3.1.2
1.21.1-3.1.2+neoforge14 окт. 2024 г.255Minecraft: 1.21.1neoforge
Что нового
- Fix loot modification being skipped when loot table doesn't contain any entries
release
LootJS-NeoForge-1.21-3.1.1
1.21-3.1.1+neoforge25 авг. 2024 г.515Minecraft: 1.21neoforge
Что нового
- Fix `print` method for loot tables. Will now print the entries correctly.
- Fix `matchCustomCondition` and `jsonFunction` using wrong codec.
release
LootJS-NeoForge-1.21-3.1.0
1.21-3.1.0+neoforge3 авг. 2024 г.384Minecraft: 1.21neoforge
Что нового
- Remove `addItem` for loot pools. Prefer to use `addEntry`
- Deprecate `addTypeModifier` in `LootJS.modifiers` and will be removed in future updates, use `addTableModifier` with a
LootType instead.
- Deprecate `modifyLootTypeTables` in `LootJS.lootTables` and will be removed in future updates, use `modifyLootTables`
with a LootType instead.
release
LootJS-NeoForge-1.21-3.0.4
1.21-3.0.4+neoforge25 июл. 2024 г.140Minecraft: 1.21neoforge
Что нового
- Fix `.create` in loot tables event
release
LootJS-NeoForge-1.21-3.0.3
1.21-3.0.3+neoforge22 июл. 2024 г.129Minecraft: 1.21neoforge
Что нового
- Bump kubejs version
release
LootJS-NeoForge-1.21-3.0.2
1.21-3.0.2+neoforge16 июл. 2024 г.127Minecraft: 1.21neoforge
Что нового
- Add quick way to negate simple `ItemFilter`s like tag or id filter by using `!`, e.g. `!#c:tools`
- Fix regex handling with id filters
- Rename `removeGlobalModifier` to `removeGlobalModifiers` in `LootJS.modifiers` event.
release
LootJS-NeoForge-1.21-3.0.1
1.21-3.0.1+neoforge7 июл. 2024 г.119Minecraft: 1.21neoforge
Что нового
### Fixes
- Fix error `Tag does not exist` when using ItemPredicates with tags
release
LootJS-NeoForge-1.21-3.0.0
1.21-3.0.0+neoforge6 июл. 2024 г.113Minecraft: 1.21neoforge
Что нового
### Changes
- New wiki https://docs.almostreliable.com/lootjs/
- Now on `neoforge`
- Added `LootJS.loot_tables` event for direct loot table modification
- Add `LootBucket` as wrapper class for loot for easier execute some helper functions
- `LootEntry` does not only represent single items anymore. It now represents all different loot entries vanilla
minecraft has.
- `LootEntry.of(item)`: Single item
- `LootEntry.empty()`: Empty entry
- `LootEntry.tag(tag)`: Tag entry
- `LootEntry.reference(lootTable)`: Reference to another loot table. For
example, `LootEntry.reference("minecraft:chests/abandoned_mineshaft")`
- `LootEntry.alternative(lootEntries...)`: Alternative loot
- `LootEntry.sequence(lootEntries...)`: Sequence loot
- `LootEntry.group(lootEntries...)`: Grouped loot
- Changes to `LootJS.modifiers` event:
- Loot modifiers are not executed in order anymore. It will now work like a loot table. First check for conditions
and if it contains matching loot, then apply all actions and then apply loot functions.
- `addLootTableModifier`, `addLootTypeModifier`, `addBlockLootModifier`, `addEntityLootModifier` renamed
into `addTableModifier`, `addTypeModifier`, `addBlockModifier`, `addEntityModifier`
- `.functions(itemFilter, (f) => {})` removed. Better to just use `group` now
- Added `.group((group) => {...})` or `.group(itemFilter, (item) => {...})`. Second one will pre-filter current loot
for further modifications.
- `.group()` can use `.rolls(numberprovider)` to execute the group multiple times
- `.pool()` now actually consumes a vanilla `LootPool`
- Removed `addWeightedLoot()`, use `.pool()` instead now
- `matchLoot` renamed into `containsLoot`
- `.dropExperience` can now use a number provider instead of a fixed amount
- `LootContextJS` wrapper removed. Using `LootContext` instead but added all helper methods from `LootContextJS` too
- Renamed some loot functions
- Renamed some loot conditions
- Changes to `ItemFilter`:
- `.hasEnchantments(...)` only works for item enchantments now. For `stored` enchantments
use `.hasStoredEnchantments(...)`
- Removed some filters as they are no longer needed with the new data components.
- Renamed `ALWAYS_TRUE` into `ALL` and `ALWAYS_FALSE` into `NONE`
- Added `vault`, `block_use` and `shearing` LootType
- And probably more stuff I may missed, sorry! :D Feel free to ask in our discord.
release
LootJS-Forge-1.20.1-2.12.0
1.20.1-2.12.0+forge6 июн. 2024 г.3,2 млнMinecraft: 1.20.1forge, neoforge
Что нового
### Added
- Added `randomTableBonus(enchantment, chances)` for vanillas `table_bonus` condition
release
LootJS-Fabric-1.20.1-2.12.0
1.20.1-2.12.0+fabric6 июн. 2024 г.461,8 тыс.Minecraft: 1.20.1fabric
Что нового
### Added
- Added `randomTableBonus(enchantment, chances)` for vanillas `table_bonus` condition
release
LootJS-Fabric-1.20.1-2.11.0
1.20.1-2.11.0+fabric10 февр. 2024 г.52,2 тыс.Minecraft: 1.20.1fabric
Что нового
### 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
release
LootJS-Forge-1.20.1-2.11.0
1.20.1-2.11.0+forge10 февр. 2024 г.237,5 тыс.Minecraft: 1.20.1forge, neoforge
Что нового
### 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
release
LootJS-Fabric-1.20.1-2.10.4
1.20.1-2.10.4+fabric7 дек. 2023 г.4 тыс.Minecraft: 1.20.1fabric
Что нового
### Fixed
- Crash with newest kubejs version
release
LootJS-Forge-1.20.1-2.10.4
1.20.1-2.10.4+forge7 дек. 2023 г.71,9 тыс.Minecraft: 1.20.1forge, neoforge
Что нового
### Fixed
- Crash with newest kubejs version
release
LootJS-Forge-1.20.1-2.10.3
1.20.1-2.10.3+forge27 сент. 2023 г.1,1 тыс.Minecraft: 1.20.1forge
Что нового
### Fixed
- Fixed null pointer exception when using `addLootTableModifier` and an entity dies
release
LootJS-Fabric-1.20.1-2.10.3
1.20.1-2.10.3+fabric27 сент. 2023 г.44,4 тыс.Minecraft: 1.20.1fabric
Что нового
### Fixed
- Fixed null pointer exception when using `addLootTableModifier` and an entity dies
release
LootJS-Forge-1.20.1-2.10.2
1.20.1-2.10.2+forge23 сент. 2023 г.135Minecraft: 1.20.1forge
Что нового
### Add
- Add custom loot function `customFunction(json)`
release
LootJS-Fabric-1.20.1-2.10.2
1.20.1-2.10.2+fabric23 сент. 2023 г.112Minecraft: 1.20.1fabric
Что нового
### Add
- Add custom loot function `customFunction(json)`
release
LootJS-Forge-1.20.1-2.10.1
1.20.1-2.10.1+forge19 сент. 2023 г.151Minecraft: 1.20.1forge
Что нового
### Fix
- Fix bug where loot does not drop for entities on fabric
release
LootJS-Fabric-1.20.1-2.10.1
1.20.1-2.10.1+fabric19 сент. 2023 г.123Minecraft: 1.20.1fabric
Что нового
### Fix
- Fix bug where loot does not drop for entities on fabric
alpha
LootJS-Forge-1.20.1-2.10.0
1.20.1-2.10.0+forge3 сент. 2023 г.146Minecraft: 1.20.1forge
Что нового
### Changed
- 1.20.1 Release
alpha
LootJS-Fabric-1.20.1-2.10.0
1.20.1-2.10.0+fabric3 сент. 2023 г.132Minecraft: 1.20.1fabric
Что нового
### Changed
- 1.20.1 Release
release
LootJS-Forge-1.19.2-2.9.1
1.19.2-2.9.1+forge17 авг. 2023 г.75,4 тыс.Minecraft: 1.19.2forge
Что нового
### Changed
- Fix bug where loot does not drop if CraftTweaker is installed together with LootJS on fabric
release
LootJS-Fabric-1.19.2-2.9.1
1.19.2-2.9.1+fabric17 авг. 2023 г.5,3 тыс.Minecraft: 1.19.2fabric
Что нового
### Changed
- Fix bug where loot does not drop if CraftTweaker is installed together with LootJS on fabric
release
LootJS-Forge-1.19.2-2.9.0
1.19.2-2.9.0+forge18 июл. 2023 г.134Minecraft: 1.19.2forge
Что нового
### Changed
- Update to KubeJS 6.1
release
LootJS-Fabric-1.19.2-2.9.0
1.19.2-2.9.0+fabric18 июл. 2023 г.147Minecraft: 1.19.2fabric
Что нового
### Changed
- Update to KubeJS 6.1
release
LootJS-Forge-1.19.2-2.8.0
1.19.2-2.8.0+forge12 апр. 2023 г.2,4 тыс.Minecraft: 1.19.2forge
Что нового
### Added
- Added `LootEntry.when()` and `blockEntityPredicate`
release
LootJS-Fabric-1.19.2-2.8.0
1.19.2-2.8.0+fabric12 апр. 2023 г.1,3 тыс.Minecraft: 1.19.2fabric
Что нового
### Added
- Added `LootEntry.when()` and `blockEntityPredicate`
release
LootJS-Forge-1.19.2-2.7.11
1.19.2-2.7.11+forge3 апр. 2023 г.81Minecraft: 1.19.2forge
Что нового
### Fix
- Fix item filters on forge. Moved the specific filters from last update to `ForgeItemFilter.canPerformAnyAction()` and `ForgeItemFilter.canPerformAction()`.
release
LootJS-Fabric-1.19.2-2.7.11
1.19.2-2.7.11+fabric3 апр. 2023 г.160Minecraft: 1.19.2fabric
Что нового
### Fix
- Fix item filters on forge. Moved the specific filters from last update to `ForgeItemFilter.canPerformAnyAction()` and `ForgeItemFilter.canPerformAction()`.
release
LootJS-Forge-1.19.2-2.7.10
1.19.2-2.7.10+forge2 апр. 2023 г.71Minecraft: 1.19.2forge
Что нового
### Added
- Added `ItemFilter.canPerformAnyAction()` and `ItemFilter.canPerformAction()` for Forge to check if an item can perform a tool action.
### Fix
- Fix crash when trying to remove global modifiers from forge
release
LootJS-Fabric-1.19.2-2.7.10
1.19.2-2.7.10+fabric2 апр. 2023 г.126Minecraft: 1.19.2fabric
Что нового
### Added
- Added `ItemFilter.canPerformAnyAction()` and `ItemFilter.canPerformAction()` for Forge to check if an item can perform a tool action.
### Fix
- Fix crash when trying to remove global modifiers from forge
release
LootJS-Forge-1.19.2-2.7.9
1.19.2-2.7.9+forge30 янв. 2023 г.139Minecraft: 1.19.2forge
Что нового
### Changed
- Add structure tags `#tag` support in `anyStructure()` condition
- Remove structure id validation in `anyStructure()` because of timing issues ... :')
- Fix load issue on fabric (Should fix weird null pointer exception on fabric)
release
LootJS-Fabric-1.19.2-2.7.9
1.19.2-2.7.9+fabric30 янв. 2023 г.540Minecraft: 1.19.2fabric
Что нового
### Changed
- Add structure tags `#tag` support in `anyStructure()` condition
- Remove structure id validation in `anyStructure()` because of timing issues ... :')
- Fix load issue on fabric (Should fix weird null pointer exception on fabric)
release
LootJS-Forge-1.19.2-2.7.8
1.19.2-2.7.8+forge8 янв. 2023 г.74Minecraft: 1.19.2forge
Что нового
### Changed
- Fix ([#10](https://github.com/AlmostReliable/lootjs/issues/10))
- Remove tag validation because of timing issues
release
LootJS-Fabric-1.19.2-2.7.8
1.19.2-2.7.8+fabric8 янв. 2023 г.128Minecraft: 1.19.2fabric
Что нового
### Changed
- Fix ([#10](https://github.com/AlmostReliable/lootjs/issues/10))
- Remove tag validation because of timing issues
release
LootJS-Forge-1.19.2-2.7.7
1.19.2-2.7.7+forge23 нояб. 2022 г.95Minecraft: 1.19.2forge
Что нового
### Added
- `disableWitherStarDrop()`, `disableCreeperHeadDrop()`, `disableSkeletonHeadDrop()`, `disableZombieHeadDrop()`
release
LootJS-Fabric-1.19.2-2.7.7
1.19.2-2.7.7+fabric23 нояб. 2022 г.114Minecraft: 1.19.2fabric
Что нового
### Added
- `disableWitherStarDrop()`, `disableCreeperHeadDrop()`, `disableSkeletonHeadDrop()`, `disableZombieHeadDrop()`
release
LootJS-Forge-1.18.2-2.7.7
1.18.2-2.7.7+forge23 нояб. 2022 г.37,9 тыс.Minecraft: 1.18.2forge
Что нового
### Added
- `disableWitherStarDrop()`, `disableCreeperHeadDrop()`, `disableSkeletonHeadDrop()`, `disableZombieHeadDrop()`
- Skip 2.7.6 as it's a 1.19 fix version
release
LootJS-Fabric-1.18.2-2.7.7
1.18.2-2.7.7+fabric23 нояб. 2022 г.1,4 тыс.Minecraft: 1.18.2fabric
Что нового
### Added
- `disableWitherStarDrop()`, `disableCreeperHeadDrop()`, `disableSkeletonHeadDrop()`, `disableZombieHeadDrop()`
- Skip 2.7.6 as it's a 1.19 fix version
release
LootJS-Forge-1.19.2-2.7.6
1.19.2-2.7.6+forge14 нояб. 2022 г.92Minecraft: 1.19.2forge
Что нового
### Changed
- Bump KubeJS Version ([#9](https://github.com/AlmostReliable/lootjs/issues/9))
release
LootJS-Fabric-1.19.2-2.7.6
1.19.2-2.7.6+fabric14 нояб. 2022 г.77Minecraft: 1.19.2fabric
Что нового
### Changed
- Bump KubeJS Version ([#9](https://github.com/AlmostReliable/lootjs/issues/9))
release
LootJS-Forge-1.19.2-2.7.5
1.19.2-2.7.5+forge17 окт. 2022 г.76Minecraft: 1.19.2forge
Что нового
### Changed
- Fix `addBlockLootModifier` when using tags
release
LootJS-Fabric-1.19.2-2.7.5
1.19.2-2.7.5+fabric17 окт. 2022 г.66Minecraft: 1.19.2fabric
Что нового
### Changed
- Fix `addBlockLootModifier` when using tags
release
LootJS-Forge-1.18.2-2.7.5
1.18.2-2.7.5+forge2 сент. 2022 г.147Minecraft: 1.18.2forge
Что нового
### Changed
release
LootJS-Fabric-1.18.2-2.7.5
1.18.2-2.7.5+fabric2 сент. 2022 г.103Minecraft: 1.18.2fabric
Что нового
### Changed
release
LootJS-Forge-1.18.2-2.7.4
1.18.2-2.7.4+forge30 июл. 2022 г.353Minecraft: 1.18.2forge
Что нового
### Changed
- Fix invalid items result into an always true filter.
- Change `ItemFilter.hasEnchantment()` so it works with regex and enchanted books.
release
LootJS-Fabric-1.18.2-2.7.4
1.18.2-2.7.4+fabric30 июл. 2022 г.84Minecraft: 1.18.2fabric
Что нового
### Changed
- Fix invalid items result into an always true filter.
- Change `ItemFilter.hasEnchantment()` so it works with regex and enchanted books.
release
LootJS-Forge-1.18.2-2.7.3
1.18.2-2.7.3+forge7 июл. 2022 г.94Minecraft: 1.18.2forge
Что нового
### Changed
- Fix loot context check for params when loot is rolled multiple times.
release
LootJS-Fabric-1.18.2-2.7.3
1.18.2-2.7.3+fabric7 июл. 2022 г.87Minecraft: 1.18.2fabric
Что нового
### Changed
- Fix loot context check for params when loot is rolled multiple times.
release
LootJS-Forge-1.18.2-2.7.2
1.18.2-2.7.2+forge5 июл. 2022 г.88Minecraft: 1.18.2forge
Что нового
### Changed
- Fabric Fix: Old drop still dropped.
release
LootJS-Fabric-1.18.2-2.7.2
1.18.2-2.7.2+fabric5 июл. 2022 г.87Minecraft: 1.18.2fabric
Что нового
### Changed
- Fabric Fix: Old drop still dropped.
release
LootJS-Forge-1.18.2-2.7.1
1.18.2-2.7.1+forge4 июл. 2022 г.82Minecraft: 1.18.2forge
Что нового
### Changed
- Fabric Fix: Modifications did not trigger for entities.
release
LootJS-Fabric-1.18.2-2.7.1
1.18.2-2.7.1+fabric4 июл. 2022 г.94Minecraft: 1.18.2fabric
Что нового
### Changed
- Fabric Fix: Modifications did not trigger for entities.
release
LootJS-Fabric-1.18.2-2.7.0
1.18.2-2.7.0+fabric28 июн. 2022 г.102Minecraft: 1.18.2fabric
Что нового
### Added
- Hello Fabric! LootJS is now for Fabric
release
LootJS-Forge-1.18.2-2.7.0
1.18.2-2.7.0+forge28 июн. 2022 г.113Minecraft: 1.18.2forge
Что нового
### Added
- Hello Fabric! LootJS is now for Fabric