Loading...
Beta Modpages Unclaimed

SeriousCreeper's Loot Chests

Loot Chests that can contain items

0 Likes
248852 Downloads
Created by SeriousCreeper

Description

This mod adds 4 chest items that can be opened to aquire items, defined by a loot table. 

By default these chests can't be aquired anywhere in game other than the creative menu, so you will need a mod to either add them to mob drops, random chest loot or quest rewards. 

 

To add your own loot, just override the loot table "lootchests:serious_loot". 

It has 4 tables entries, "common", "uncommon", "rare" and "mythic". 

 

To learn more about how vanilla loot tables work, look here: https://minecraft.gamepedia.com/Loot_table

 

Either add your own loot table file to your world save folder, or use mods that modify it. Personally i recommend using LootTweaker.

 

Vanilla Example:

{
"pools": [
{
"name": "common",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "minecraft:stone",
"weight": 1
}
]
},
{
"name": "uncommon",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "minecraft:apple",
"weight": 1
}
]
},
{
"name": "rare",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "minecraft:diamond",
"weight": 1
}
]
},
{
"name": "mythic",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "minecraft:nether_star",
"weight": 1
}
]
}
]
}

 

LootTweaker Example:

import loottweaker.vanilla.loot.LootTables;
import loottweaker.vanilla.loot.LootTable;
import loottweaker.vanilla.loot.LootPool;
import loottweaker.vanilla.loot.Conditions;
import loottweaker.vanilla.loot.Functions;

val table = LootTables.getTable("lootchests:serious_loot");

// Grab all the existing pools
val common = table.getPool("common");
val uncommon = table.getPool("uncommon");
val rare = table.getPool("rare");
val mythic = table.getPool("mythic");

// Set the rolls. By default, each pool has a minRoll of 1, maxRoll of 3
common.setRolls(3, 10);

// Add loot to pools
common.addItemEntryHelper(<minecraft:stone> * 16, 50, 1, [Functions.setCount(8, 16)], []);
uncommon.addItemEntryHelper(<minecraft:cooked_chicken> * 4, 50, 1, [], []);
rare.addItemEntryHelper(<minecraft:diamond> * 4, 20, 1, [], []);
mythic.addItemEntryHelper(<minecraft:nether_star>, 1, 1, [], []);


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Apotheosis

All things that should have been.

Corail Tombstone

Keeps safe your inventory items in graves on death with many features for better survivability and exploration, in a medieval fantasy atmosphere related to the decorative graves & the haunting souls

MineColonies

Grow your Own Massive Colony with Automation, Defense Structures, Raids and more

Runelic

A runic font for Minecraft.

Better Questing

A new and improved questing mod for Minecraft pack creators

Bountiful

Adds bounty boards, giving rewards for collecting different blocks and items.

LootBags

Adds bags of loot to mob and dungeon drops