Loot Casket

Quick rating

Loot Casket

No reviews yet

A tiny mod (for pack makers) to allow creating loot caskets which can contain a loot table, loot pool or a single item

No Theme
No Genre
QoL & Tweaks
Modpack Customization Tool
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
LootCasket-1.12.2-1.0.1.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

For the latest news, updates and discussion about the mod, join my official Discord server 544897694448091146.svg?colorB=7289DA!

 

Loot Casket logo

 

Loot Casket

A 1.12.2 Minecraft mod, adding the Small Casket item into the game which can be "filled" with references to loot tables.

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

This mod also adds an /lcdumpitem command which can help you to get the NBT format of an item(stack) in your mainhand. The command needs op privileges.

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 Caskets

Using the /give command, you receive a Casket containing an iron ingot and a gold ingot

/give @p lootcasket:small_casket 1 0 { "Items":[{id:"minecraft:gold_ingot",Count:1b},{id:"minecraft:iron_ingot",Count:1b}]}

Using this /give command, you receive a Casket containing the content of a mineshaft chest. It also has an Epic rarity tag so it has an epic purple colored name:
/give @p lootcasket:small_casket 1 0 { "LootTable": "minecraft:chests/abandoned_mineshaft", "Rarity" : "epic" }

Supported Tags

LootTable: reference to an already existing loottable. e.g. "ebwizardry:chests/shrine", "minecraft:chests/abandoned_mineshaft", "minecraft:entities/zombie"

Pool: (Optional) A pool's name in a LootTable. When specified, only loot from the specific pool will be dropped from the casket

Rolls: (Optional) The casket contains the specified loottable's loot this many times. Each roll is generated from scratch, as if you would open multiple chests with the same loottable.

Items: A list of NBT-serialized itemstacks (an item with its own nbt, damage, etc. tags). You can use the /lcdumpitem command to get the NBT format of the item you are holding. This should be in an "Items":[{},{},{},...] format, with each {} containing the ItemStack's NBT. Because this is always a list, you need the wrapping [] even if you are specifying a single stack!

Rarity: (Optional) The rarity of this Loot Casket. By default, it can be common, uncommon, rare or epic, but there are mods registering more. Any EnumRarity should work.

The LootTable (with Rolls, Pools) and Items tags are mutually exclusive.

 Looking for a server to play with your friends?

wgYOHE5.png

 

Permissions

You are permitted to use this mod in any mod pack, just make sure you provide a link to this page in your credits. Redistribution in public hosting is not allowed.

Issues

If you encounter any issues or problems, you can report them in the Github issue tracker, or more preferably in discord if you want a quicker way to discuss.

1TtfKfv.png

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works