# RPG Loot, Mobs & Dungeons Data Pack

• check_circle Functions
• check_circle Loot Tables
• check_circle Recipes
• check_circle Structures
• 153,224 views, 486 today
• 341
• 381
• 681
michael9r9r
Level 58 : Grandmaster Modder
114
RPG Loot - Data Pack for 1.16
Current Version: 1.11

RPG Loot is a data pack that adds randomly generated items with rarities that you may remember from Borderlands, Dying Light, Darksiders II any many other games...

...and yes even Fortnite...

These items are added with the goal of making exploring much more rewarding and exciting, without breaking the vanilla game balance too much.

- Installation -

Extract the folder from the .zip file and place it into your worlds datapacks folder.

After that, load into the world and type /function rpgloot:options/default to initialize the default options. This will start the datapack.

You can then use rpgloot:options to adjust the settings to your liking.

- Rarities -

The rarities are Uncommon, Rare, Very Rare, and Legendary.

Uncommon items provide small stat bonuses, but are abundant.
Rare items provide higher bonuses, and also more types of bonuses as well.
Very Rare items provide very high bonuses, but are much less abundant.
Legendary items provide the highest bonuses to several different stats and are indestructible, but are also exceedingly rare.

- Spawn Rates -

These are the chances of each rarity spawning relative to the others.

Uncommon: ~66.2%
Rare: ~26.5%
Very Rare: ~6.6%
Legendary: ~0.07%

- Item Balance -

Weapons and Armor have been balanced so that diamond isn't always the most powerful choice 100% of the time.

Leather Armor provides higher speed bonuses than diamond or iron, and chain provides higher max health bonuses than others.

Wooden Weapons are very fast but deal little damage, and gold weapons have powerful enchantments.

There is a full list at the bottom of this post.

- UPDATE v1.04: RPG Mobs -

Boss mobs will now spawn naturally in the world that are stronger and drop better loot. These range from-

Veterans that have will pose as a challenge for the under-equipped or ill-prepared.
Elites that are stronger, faster, and more difficult to defeat than Veterans.
Champions that are very strong, resistant to fire, and have regeneration that can be a threat for a well equipped player.
Legendaries that will test the abilities of even the best equipped players.
Raid Bosses that will require multiple well equipped players to defeat...
...and some others as well.

There are also Unique mobs who have specialized stats and are usually a little stronger than Legendaries. Uniques drop from the legendary loot pool but have a chance of dropping named Legendary items that provide new, unique bonuses.

The final type of mob are Spectres. Spectres spawn during the night if the Brutal Nights option is enabled. Spectres are fast, strong, and invisible. Turn this setting on if you want nights to be truly dangerous.

To access the options of this datapack, type in /function rpgloot:options while you have operator privileges. You can also change the spawn rate of these new mobs (default is 5% per loop), though the changes to spawn rates will not remain when you restart your game.

- Currently Generated Items -

All types of armor are currently generated except for the turtle shell.
All Swords, Axes, Tridents and Shields are currently generated.
Bows and Crossbows only generate as legendary items currently. This is due to a lack of modifiable attributes being present on them.

- How to Spawn Dungeons -

Players-
Rename a Diamond Pickaxe to "Ancient Excavator" and throw it on the ground. A random dungeon will be spawned near bedrock level below where the pickaxe is thrown.

You can type /function rpgloot:random_structure and a random dungeon will be spawned somewhere in the world. The more times you run this function the more dungeons will be generated in your world.

- Planned Features -

Full Bow & Crossbow generation when I figure out how to make them interesting.
Drops for the Wither and Ender Dragon.
Off-Hand Item that increases spawn rate.
A Scrapping and Crafting System

- Known Issues -

The display of attack speed on weapons may be confusing.
Servers may display warnings that do not affect the functionality of the data pack.

- Compatibility -

This Data Pack is not compatible with any other mods or data packs that alter the vanilla loot tables.

- Permissions -

Feel free to use any of the content of this data pack in your own work, but please credit me if you do, and please do not re-post this elsewhere without crediting me.

- Thanks -

I have to thank Skylinerw for writing this post on the minecraft forums

www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/commands-command-blocks-and/2546347-1-12-custom-loot-tables

It helped immensely and made everything a lot easier.

I also thank Ercerus for their Ancient Attribute Items data pack. I was inspired by it and it served as a useful reference while I made this data pack.

https://www.planetminecraft.com/mod/ancient-attribute-items-in-end-cities-datapack-for-minecraft-1-14/

I must also thank Eastonium for his WASD Random Bosses data pack. Though I used mostly different methods of spawning mobs his work served as an incredibly useful reference while updating this pack to v1.04

https://www.planetminecraft.com/data-pack/wasd-random-bosses/

List of Unique Drops and where to obtain them:

- - Nerdy Details & Stuff - -
 Credit Eastonium Compatibility Minecraft 1.16 Tags

## 16 Update Logs

v1.11 (Back from the dead) : 02/27/2021 10:36:32 pmFeb 27th

8 Months since the last update? Time flies when you work full time.

Thanks for everyone's patience. This update is small in size, but will hopefully make installation and customization significantly easier. An installation section has also been added to the description of this post.

tl;dr: Type /function rpgloot:options/default after adding the datapack to a world or server to make it work.

v1.11-

Added a new tier 1 dungeon: the Jeweled Caverns
The Jeweled Caverns can spawn a new unique: The Plague Swarm, which can drop 3 new unique items.

Overhauled the options menu once again, and added default values that can be set with /function rpgloot:options/default
Added Random Events that can be turned off, or adjusted in the options.

Made rng functions use a set player variable instead of a random player on the server. This should improve performance, and make further development easier.
Also made other tweaks here and there to improve performance.
Reduced the movement speed of the killer rabbit.
Removed diamond spawn in dungeon loot chests.
Added rpg items to the ruined portal drop table.
Fixed an issue with generic.attack_knockback using the old name.

I have also begun work on a wiki for this datapack. No idea when it will be ready, but it will have info on specific mobs, dungeons, items, etc.

1
04/15/2021 3:35 pmhistory
Level 1 : New Explorer
McLordPL
michael9r9r What are the events for? How to activate them? Sorry for translation errors, I am Polish.
1
04/10/2021 9:26 am
Level 17 : Journeyman Architect
templebro2
is there a way to /give yourself all the items?
1
04/08/2021 3:50 am
Level 1 : New Miner
Marius2552
One question: what does the pillager settlement do? what is it? does this affect outposts or ... ? :)
1
04/06/2021 3:30 am
Level 1 : New Miner
Ultima28
Love the idea of this datapack however

I've downloaded and put into datapacks, however I get no /function rpgloot command at all.

I have these datapacks installed

Anti creeper grief

Anti ghast grief
Armoured Elytra
Back
Classic fishing loot
Custom Nether Portals
Dragon Drops
Graves
Homes
Immersive soundscapes
Multiplayer sleep
Perashas teleporters/utilities
SIlence mobs
timber
trails

Any help would be appreciated
2
04/11/2021 4:14 pm
Level 1 : New Miner
why would you have anti creeper and ghast grief when you can just turn off mobgriefing?..

same with silenced mobs, you can literally just turn off mob sounds..
1
04/06/2021 6:26 am
Level 1 : New Miner
D2N13L
did you enable the pack/put the .zip file in the world folder?
1
04/09/2021 8:08 pm
Level 1 : New Miner
Ultima28
Yes I put it along with all my other data packs, they all work bar this one.

All in the datapacks folder within the world folder.
1
04/04/2021 6:50 pm
Level 1 : New Miner
RyanPlayz1247
so i booted this datapack up and spawned a dungeon. I went down and the "dread knight" enemy looked fine, but the decayed archers had a (in a square) NAK (out of square)9decayed archer. Is there a reason for this?
1
04/04/2021 10:19 am
Level 1 : New Miner
RyanPlayz1247
Hey, this datapack looks super cool but im in a place where i cant test it, so i thought i would ask some questions about it.

1. does this work on spigot/paper servers

2. do you know how laggy the pack is

3. Will you continue updating this pack.

Thanks!
2
04/04/2021 11:22 amhistory
Level 1 : New Miner
D2N13L
I can't answer the 3rd question but I can probably give some deets about it

1: I've been running the pack on my spigot/paper server just fine so I think it'll work for you too.

2:The laggyness really depends on the RAM allocation you give to your server and the number of entities in one place, for example, I had light lag when on my realm, and heavy lag on a single player but when I moved to a private host with more RAM I had zero issues so far.
1
04/04/2021 6:27 pm
Level 1 : New Miner
RyanPlayz1247
thank you for this. From what i have seen, you can cut down on how many spawns there are and the server im using has 4gb of ram so it should be fine. Thanks for the info
1
04/04/2021 3:37 amhistory
Level 1 : New Miner
D2N13L
michael9r9r have you considered making a discord server for those interested in helping/improving the mod? I'd really like to ask for advice/report bugs/help out in creating a wiki for the mod, thanks for the great mod and your time.
1
04/04/2021 10:18 pm
Level 58 : Grandmaster Modder
michael9r9r
I appreciate the interest in creating a wiki, and to tell you the truth, i've already started one but havent had time to work on it. I'll send you a link, and I might make a discord server for the datapack as well.
1
04/01/2021 7:30 pm
Level 1 : New Miner
RedPanda4361
I do the /function rpgloot:options/default and it says it's an unknown function. I have installed the datapack file in the correct world and even put another datapack after trying to install this one.
1
04/03/2021 10:36 pm
Level 58 : Grandmaster Modder
michael9r9r
does the rpgloot:options function work? Is the datapack being shown as loaded?
1
04/06/2021 5:34 pm
Level 1 : New Miner
RedPanda4361
I uninstalled the datapack and put both the zipped and the unzipped file in the world save and now it works
1
03/25/2021 12:51 pm
Level 1 : New Miner
TucanoMine
Does this datapack only work in version 1.16 or does it also work for 1.16.x?
1
04/03/2021 10:35 pm
Level 58 : Grandmaster Modder
michael9r9r
my server running 1.16.5 is working fine with it.
2
03/25/2021 11:07 am
Level 3 : Apprentice Miner
Cama
Have you ever considered turning this into a Forge mod instead of a Datapack? Datapacks are great and all, but, they aren't performance friendly. This would be an absolutely amazing mod and I'm sure it would be 10 times more popular than the datapack. Just food for thought.
1
04/03/2021 10:35 pm
Level 58 : Grandmaster Modder
michael9r9r
I appreciate the input, but I think for now at least it is going to stay as a data pack. I created it specifically for realms, and there are many other rpg style forge mods out there. Sorry if that wasn't the answer you wanted.
1
03/23/2021 2:04 pm
Level 29 : Expert Birb
BeguiledYT
What function or line of code makes a pickaxe named Ancient Excavator disappear and summon lightning? I ask because I'm trying to get rid of the mechanic where players can summon dungeons.
3
03/31/2021 4:30 amhistory
Level 1 : New Miner
D2N13L
In this path: data\rpgloot\functions\item_effects.mcfunction there's 2 lines that says:

execute at @e[​type=minecraft:item,nbt={Item:{id:"minecraft:diamond_pickaxe",tag:{display:{Name:"{\"text\":\"Ancient Excavator\"}"}}}}] run function rpgloot:generate_structure
execute at @e[​type=minecraft:item,nbt={Item:{id:"minecraft:diamond_pickaxe",tag:{display:{Name:"{\"text\":\"Ancient Excavator\"}"}}}}] run summon minecraft:lightning_bolt ~ ~ ~

it just executes the generate_structure command and summons lightning to delete the pickaxe.

I hope I helped you :P
2
04/03/2021 10:36 pm
Level 58 : Grandmaster Modder
michael9r9r
Thanks for helping him out!
1
03/23/2021 12:59 pm
Level 1 : New Miner
Plague_Identified
Why does it only let me play it on Version 1.14.4?
1
04/03/2021 10:36 pm
Level 58 : Grandmaster Modder
michael9r9r
What do you mean?
1
03/22/2021 11:12 pm
Level 3 : Apprentice Miner
Cama
This DataPack is so amazing and unfortunately, I had to remove it due to TPS being affected heavily. We were at 9 TPS with 7 players on...unplayable. I am so sad that I had to remove it. I think the lag may have been due to conflicting datapacks although, everything was working perfectly fine, just, it lagged badly.
1
03/22/2021 11:12 pm
Level 3 : Apprentice Miner
Cama
The Datapacks I had enabled were

BRACKEN PACK

CLIMBABLE CHAINS

MICHAEL9r9r's RPG LOOT

SHIPS v9

Balanced Rails

Cauldron Concrete

Confetti Creepers

Durability Ping

Elevators

Fast Leaf Decay

Fossil Dungeons

Graves

Illager Fortresses

Multiplayer Sleep

Old Fishing

Silk Touch Spawners

Skeleys Better Golem Loot
Timber

Unlock all Recipes.

Most of the datapacks add very simple features but they may have been conflicting. Here is a PASTEBIN to the DEBUG FILE I generated with the DEBUG command: pastebin.com/E7C1AxRf﻿
1
04/03/2021 10:44 pm
Level 58 : Grandmaster Modder
michael9r9r
1
03/20/2021 8:37 pm
Level 1 : New Miner
Froelich131
Thank you for updating the data pack, I hope the popularity of the datapack and the questions/tech support that comes with it isn't overwhelming!! You're doing a great job of helping as many people as you can. With that said, cannot wait to try the new dungeon!
1
04/03/2021 10:37 pm
Level 58 : Grandmaster Modder
michael9r9r
Thanks for the feedback! It can be hard answering everyone's questions, but I try my best. Enjoy!
1
03/20/2021 10:15 amhistory
Level 1 : New Explorer
NumberXV
Would this datapack work if i wanted to add it to a mcmmo server?

Edit: it does work.
1
04/03/2021 10:37 pm
Level 58 : Grandmaster Modder
michael9r9r
Glad to hear, I've never messed with mcmmo.
1
03/20/2021 1:55 am
Level 1 : New Miner
Dalpano
Good afternoon. Still enjoying your datapack. Had my first contact with unique mob recently, though the killer rabbit didn't drop anything useful.
However, the error occurs every time when opening the server. Error message posted under since I don't know the way to post log. Mind taking a look?

[14:47:38 ERROR]: Couldn't parse data file rpgloot:plagued_defender_loot from rpgloot:loot_tables/plagued_defender_loot.json
com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 3018 column 30 path $.pools[2].entries[47].functions[0].modifiers[5] at net.minecraft.server.v1_16_R2.ChatDeserializer.a(SourceFile:495) ~[patched_1.16.3.jar:git-Paper-192] at net.minecraft.server.v1_16_R2.ChatDeserializer.a(SourceFile:532) ~[patched_1.16.3.jar:git-Paper-192] at net.minecraft.server.v1_16_R2.ResourceDataJson.b(SourceFile:47) ~[patched_1.16.3.jar:git-Paper-192] at net.minecraft.server.v1_16_R2.LootTableRegistry.b(LootTableRegistry.java:13) ~[patched_1.16.3.jar:git-Paper-192] at net.minecraft.server.v1_16_R2.ResourceDataAbstract.a(SourceFile:11) ~[patched_1.16.3.jar:git-Paper-192] at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_271] at java.lang.Thread.run(Unknown Source) [?:1.8.0_271] Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 3018 column 30 path$.pools[2].entries[47].functions[0].modifiers[5]
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:730) ~[patched_1.16.3.jar:git-Paper-192] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[patched_1.16.3.jar:git-Paper-192]
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[patched_1.16.3.jar:git-Paper-192] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[patched_1.16.3.jar:git-Paper-192]
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[patched_1.16.3.jar:git-Paper-192] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[patched_1.16.3.jar:git-Paper-192]
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[patched_1.16.3.jar:git-Paper-192] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[patched_1.16.3.jar:git-Paper-192]
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[patched_1.16.3.jar:git-Paper-192] at com.google.gson.internal.bind.TypeAdapters$35\$1.read(TypeAdapters.java:910) ~[patched_1.16.3.jar:git-Paper-192]
at net.minecraft.server.v1_16_R2.ChatDeserializer.a(SourceFile:493) ~[patched_1.16.3.jar:git-Paper-192]
... 8 more
1
04/03/2021 10:43 pm
Level 58 : Grandmaster Modder
michael9r9r
i'll look into this, never encountered this on my own server,
1
04/06/2021 3:22 amhistory
Level 1 : New Miner
Dalpano
I uploaded the log file recorded until the server starts.
Please let me know if there's any other information you need, such as list of datapacks or plugins.
2
03/23/2021 9:23 pm
Level 13 : Journeyman Engineer
MrPlayerYork
from what I can tell, this does not affect the pack's functionality. However, there is a known bug that when you have this pack on a server for too long, your tps will start to drop significantly and make the server unplayable. So I would avoid putting it on your server.
1
04/03/2021 10:43 pm
Level 58 : Grandmaster Modder
michael9r9r
Any more info on this? I've had the pack on my server for around a year now and have never had the tps drop below 17 or so.
1
03/25/2021 4:13 amhistory
Level 1 : New Miner
Dalpano
Thanks for the reply. I got this pack installed in our server since January, and saw the error message every single time even though there wasn't any problem. However, this datapack could be the cause of occasional tps drop as your comment. Maybe I'll compare the performance for few weeks after removing the pack.
p.s: I'll gladly provide the entire log if you are interested. There are several more errors occuring during load.
1
03/19/2021 4:13 am
Level 1 : New Miner
Placation
Hi,

What's the deal with spectres, why are they invisible sometimes, and how can I turn them off?

Thanks. Everything else I like.
2
04/03/2021 10:38 pm
Level 58 : Grandmaster Modder
michael9r9r
You can turn them off using /function rpgloot:options
1
04/07/2021 2:11 am
Level 1 : New Miner
Placation
under which setting? brutal nights?
1
04/13/2021 4:34 pm
Level 1 : New Explorer
Kazooduck
Brutal nights, hope this helped!
1
03/23/2021 9:23 pm
Level 13 : Journeyman Engineer
MrPlayerYork
because thats the datapack game mechanic, I don't think you can turn them off.
2
03/18/2021 8:11 pm
Level 13 : Journeyman Engineer
MrPlayerYork
Is there a way that I can make a lite version of the pack? I don't want any of the custom mobs or dungeons, just the loot tables. I can totally just delete the files, but I don't know which ones are important too keep.
1
04/03/2021 10:39 pm
Level 58 : Grandmaster Modder
michael9r9r
You could delete quite literally everything except for the loot tables if memory serves.
1
03/18/2021 2:34 pmhistory
Level 1 : New Miner
T7Z2
Whenever I spawn in a dungeon, all the spawners just spawn armor stands. How do I fix this?

Also I named my diamond pick "Ancient Excavator" and threw it on the ground, but nothing happened. I can't find any different rarity items either.
1
04/03/2021 10:40 pm
Level 58 : Grandmaster Modder
michael9r9r
The datapack spawns those armor stands, then replaces them with random mobs. If you are able to generate structures, the armor stands should be replaced. Not sure what the issue is, have any more information for me?
2
03/18/2021 12:09 pm
Level 20 : Expert Fish
Super-Derp
I want to use this in a Choose-Your-Own-Adventure world with my friends, but I want to be able to get the items with just commands and not having to get them from dungeons. How do I do this.
1
04/03/2021 10:42 pm
Level 58 : Grandmaster Modder
michael9r9r
Spawning chests with commands like /fill ~ ~ ~ ~ ~ ~ chest{LootTable:"rpgloot:chests/dungeon_end_loot_tier1"} replace
will do the job, just replace the loot table with whatever one you want.
1
03/16/2021 6:44 pm
Level 1 : New Miner
Parazones
Hey! First of all, Great work on this. Secondly, what are all the commands added? And is there a way to get the items through creative mode or a command? I would like to test some items also summon some bosses. Thanks!