Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.1
1.19.2
1.18.2
Platforms
Supported environments
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated last week
LootEntry.of("#tag")
, LootEntry.of("@modid")
to select a random entry from a tag or modid.LootEntry.ofJson(json)
to create a loot entry from JSON to support custom entries from other modsaddLootTableModifier
and an entity diescustomFunction(json)
LootEntry.when()
and blockEntityPredicate
ForgeItemFilter.canPerformAnyAction()
and ForgeItemFilter.canPerformAction()
.