Pengu's Loot System

Published by WeswePengu on Thu, 11/15/2018 - 23:37
Share this on:
Downloads:
83
Upvotes: 3
Category
Project status
Stable
Latest supported Minecraft version
1.12.2

Jump to downloads

Pengu's Loot System

 

HOW MY MOD WORKS!

Loot Table

 

 

 

 

-Everything is random!

-You must obtain a loot chest by killing mobs. You have a 15% chance of receiving a loot chest.

-Right click the loot chest to open it! You will receive random "vanilla" loot!

-You will not always receive an item, but have a high chance of getting something!

-There are different tiers of loot, each color coded to show rarity. Higher tiers reward better loot.

-Loot tiers from highest to lowest go: EXOTIC (yellow), LEGENDARY (purple), RARE (blue) UNCOMMON (green), COMMON (white)

 

WHAT CAN YOU GET FROM A LOOT CHEST?

-Can't tell ya! You will just have to find out! All loot is from vanilla minecraft.

 

QUESTIONS? COMMENTS? CONCERNS? Let me know!

Modification files
Pengu's Loot System.jar - DOWNLOAD MOD46.58 KB
Changelog

Version 1.0 (November 15th, 2018)  @ Mcreator v1.8.0

-Initial release.

How did you code it so that mobs drop your loot chests?

I went back to 1.8.0. The trigger "when entity is killed" still worked as though the event happened to the player. I can't replicate this in 1.8.1 at the moment but 1.8.0 will still work as I need it to.

I may mess around with the actual code and figure out where the differences are and change the code to work with 1.8.1 until an update comes around with a trigger that works. So I am going back in between 1.8.0 and 1.8.1 for a few different mods of mine.

You should add different types of loot chests that have higher chances of giving different loot.

Also, I recommend that you replace the 'add item to inventory' block in your procedures with 'spawn gem' because this drops an item rather than adding it to your inventory. This means you still get all the loot even if your inventory is full.