Loot Casket

Loot Casket

8 Downloads

Loot Casket   Build Mod Curseforge Curseforge Discord

Loot Casket is a 1.12.2 Minecraft mod, adding the Small Casket item into the game.

Features

Adds a single item - the Small Casket. The casket's content can be defined using NBT tags, and it can contain the following: A) A reference to an existing loot table. When a player opens the casket, they get a random roll of that loot table (as if they opened a chest), then the casket disappears B) A reference to an existing loot table AND a specific pool of that table. When a player opens the casket, they get a random roll of that loot table's specified pool (as if they opened a chest), then the casket disappears C) An NBT-serialized ItemStack - basically any item saved as an nbt tag. When a player opens the casket, they get the specific item

Example Use Cases

  • Pack makers can give quest rewards wrapped in caskets - just for the looks of it, or to give random rewards perhaps
  • Easily reference loot tables and attach them to entities as drops, there are mods for attaching items to entities as loot.
  • Etc..
  • Got an idea? Tell me in the comment section!

Planned features

  • Config option to attach a casket to entities as loot
  • Config option to define custom caskets for mods that do not support nbt tags for their loot (e.g. Infernal Mobs)

Example Casket Using the give command, this casket would give you the content of a mineshaft chest:
/give @p loot-casket:small_casket 1 0 { "LootTable": "minecraft:chests/abandoned_mineshaft", "Rarity" : "epic" }