Overview of LootJS for custom loot tables
LootJS is an addon for KubeJS that provides functionality to create and modify custom loot tables within Minecraft modpacks.
website·Indexed 30 days ago
https://docs.mihono.cnComprehensive guide to Mixin annotations for bytecode manipulation, including @Inject, @At, @ModifyArg, @Redirect, @Overwrite, @Shadow, and @Unique, detailing how to specify injection points and modify target class behavior.
KubeJS is a JavaScript-based modding core for Minecraft (starting from version 1.16.5) that supports both Fabric and Forge environments. It allows developers to modify most in-game content without restarting the game thanks to hot-reloading. Key capabilities include:
| Event ID | Method to Override | Method to Modify |
|---|---|---|
generic.loot_tables | addGeneric | modify |
block.loot_tables | addBlock | modifyBlock |
entity.loot_tables | addEntity | modifyEntity |
gift.loot_tables | addGift | modify |
fishing.loot_tables | addFishing | modify |
chest.loot_tables | addChest | modify |
Game Version: Minecraft 1.19.2
Mod Loader: Forge 43.1.47
KubeJS Version: 1902.6.0-build.103
Architectury Version: 6.3.49
Rinho Version: 1902.2.1-build.250persistentData is a custom data storage system provided by KubeJS. It is distinct from standard NBT data and can be used to store persistent information on the following objects: