header
premium banner

Description

Check out the 1.12 rewrite of the mod: Additions

 

Loot++

Hi Everyone!

This is a mod which lets you customize many things such as chest loot, as well as add custom items and blocks. =)

 

Description

This mod lets you do a few things:

- Add or remove items from any chest type (including nether fortress chests and any custom chests added by mods or custom chests you add in the config),

- Add or remove crafting recipes

- Add or remove smelting recipes

- Add or remove drops from entities

- Add or remove drops from blocks

- Add or remove ore dictionary entries

- Add a few types of items (tools, armor, etc.)

- Add a few types of blocks 

- Add new records

- Allow items to give you potion effects under certain circumstances

- Change maximum stack sizes

- Add some simple world generation

The instructions for each are in the config files.

The 1.7 version of the mod adds a bunch of backported 1.8 commands.

The lppnbtdump command creates a file with nbt info for the items you are holding, to make it easier to make loot entries from them.

It also generates a set of useful files showing you info about items, blocks, entities, effects, enchantments, dimensions, foods, and ore dictionary entries.

Those info files and all the config files (except the item, block, and record configs) will only generate once you load a world (any world). This is because some of the item IDs don't load correctly until the game starts.

 

Instructions

The instructions for each specific function of the mod are in the config files, but here is some general info:

To use any of the item or block additions, you must download and add this mod's custom resource pack, in the download section above. This is used for any textures added, and any sounds added for the records. It comes with some textures and sounds in it, as examples.

There are also chests and items for each loot type in the creative inventory which will generate their contents when placed (for testing purposes, but they could also make good rewards for things like adventure maps =) ). Note you can add custom chest types and their contents in the config, and each category will show up in the menu (ones added by other mods will show up as well).

Note that for the NBT tags, you can use string IDs for the items and blocks (unlike the 1.7.10 /give and /summon commands) because I created my own parser for the NBT data.

 

Wiki page with some tutorials and samples (if you want, go ahead and add your own tutorials/examples to it =) ):

http://mcmod.wiki/Loot%2B%2B

 

Addon Instructions

To create an addon (in 1.8 only at the moment), follow the file structure in the Example addon that automatically generates, and add your resources in the assets part, and the config entries in the config part. The config entries act just like they loaded from the config files, so they should be formatted in the exact same way. The files you need to add things in should be named the same as the entries in the config files. It only works for string list entries at the moment.

 

To see a working example,  check out http://www.curse.com/mc-mods/minecraft/230837-ruby-obsession.

Modpacks

You can use this in any modpack you want. Just be sure to link back to the minecraftforum page or this page, and list me as the author. =) 

 

Anyway, I hope you find this useful if you're making a modpack, or just want to add more blocks, items, records, or loot to your world. =) If you find any bugs, please report them on the minecraftforum page (as I will check that more frequently): http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2290059-loot-customize-chest-and-entity-loot-and-add