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 and armour to give you potion effects under certain circumstances
- Change maximum stack sizes
The instructions for each are in the config files.
The 1.7 version also adds a few commands. To see them ingame, type /lpp and hit Tab. They are based on vanilla commands (backported from 1.8), so they are mostly the same as their vanilla counterparts, but also accept string ids for items and blocks in the NBT (so you can use modded items finally).
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.
Install forge and put the first download (the mod file) into the mods folder and the second (the resource pack) into the resourcepacks folder.
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 =) ):
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 the Ruby Obsession addon linked to above in the downloads section.
Modpacks
You can use this in any modpack you want. Just be sure to link back to the minecraftforum page, and list me as the author. =)
Anyway, I hope you find this useful if you're making a modpack, want more awesome loot, or just want to add more items, blocks, and records to your world. =)
If you find any bugs, please report them below. I really appreciate it. =)
I'm probably going to add this to my mods folder (in case I ever go back to my singleplayer world) so that I can add the music from my favorite artists. Great mod! ;D
I'm probably going to add this to my mods folder (in case I ever go back to my singleplayer world) so that I can add the music from my favorite artists. Great mod! ;D
I can't seem to figure out how to change the config file. I'm trying to make zombies drop a mod item but I don't know what to do. I tried to follow the instructions but can't really understand how to do it. I'm getting an errored drops config.
You should add a new line to the "adding" section, in the form given in the instructions. For an example, if I wanted the Wither to drop Necrotic bones from Tinker's Construct, I could write
adding {
S:"Drops to add to entities:" <
WitherBoss-1.0-true-false-i-TConstruct:materials-3-9-8
>
}
and remember each has to be on a separate line. So you should probably add something like
adding {
S:"Drops to add to entities:" <
WitherBoss-1.0-true-false-i-TConstruct:materials-3-9-8
Zombie-0.5-true-true-i-TConstruct:oreBerries-1-1-0
>
}
which would make zombies drop 1 iron oreberry 50% of the time.
You should add a new line to the "adding" section, in the form given in the instructions. For an example, if I wanted the Wither to drop Necrotic bones from Tinker's Construct, I could write
adding {
S:"Drops to add to entities:" <
WitherBoss-1.0-true-false-i-TConstruct:materials-3-9-8
>
}
Sorry if i'm a noob but don't know anything about this. What are the 3-9-8 numbers?
Sorry if i'm a noob but don't know anything about this. What are the 3-9-8 numbers?
They're the <Min>-<Max>-<Metadata (optional)> values. So in that example the Wither will drop a minimum of 3 necrotic bones, and maximum of 9, and the metadata or "damage" value of the item is 8 (which in this case means the item is a necrotic bone, since the item Tconstruct:materials is used for quite a few items with different metadata). You don't have to put the metadata if it isn't important; it defaults to 0.
They're the <Min>-<Max>-<Metadata (optional)> values. So in that example the Wither will drop a minimum of 3 necrotic bones, and maximum of 9, and the metadata or "damage" value of the item is 8 (which in this case means the item is a necrotic bone, since the item Tconstruct:materials is used for quite a few items with different metadata). You don't have to put the metadata if it isn't important; it defaults to 0.
Well I'm not getting the error file anymore but I don't seem to get any drop except zombie flesh.I'm trying to get zombies to drop "leather strips" from the "better beginnings" mod min 1 max 2. so how would I do that?
The 4626 is the id number of the item I got from NEI
Oh, I see the problem. You have an = sign instead of a dash. Change that to a dash and you should be good. (That would cause an error because it's trying to interpret '2=4626' as a number)
Oh, I see the problem. You have an = sign instead of a dash. Change that to a dash and you should be good. (That would cause an error because it's trying to interpret '2=4626' as a number)
Sorry that was just a type o. it is a dash in the config. So I typed it correctly in the config file from what you see except the = sign?
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 and armour to give you potion effects under certain circumstances
- Change maximum stack sizes
The instructions for each are in the config files.
The 1.7 version also adds a few commands. To see them ingame, type /lpp and hit Tab. They are based on vanilla commands (backported from 1.8), so they are mostly the same as their vanilla counterparts, but also accept string ids for items and blocks in the NBT (so you can use modded items finally).
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.
Screenshots
Downloads
Main mod file: https://mods.curse.com/mc-mods/minecraft/225880-loot
1.8.9 Version:
1.8 Version:
1.7.10 Version:
Here are some other downloads as well:
Example resource pack file: (at http://www.curse.com/texture-packs/minecraft/225881-loot-custom-records)
Example addon (Ruby Obsession): (at http://www.curse.com/mc-mods/minecraft/230837-ruby-obsession)
Instructions
Install forge and put the first download (the mod file) into the mods folder and the second (the resource pack) into the resourcepacks folder.
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++
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 the Ruby Obsession addon linked to above in the downloads section.
Modpacks
You can use this in any modpack you want. Just be sure to link back to the minecraftforum page, and list me as the author. =)
Anyway, I hope you find this useful if you're making a modpack, want more awesome loot, or just want to add more items, blocks, and records to your world. =)
If you find any bugs, please report them below. I really appreciate it. =)
------
Want to see other mods made by me or donate?
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2368596-tmtravlrs-mods
I'm working on an open-source mod called Craft++. Check it out!
Yeah. =)
I actually made it for a modpack which I'm hopefully going to release soon.
I'm glad you like it. =)
Yep, it works with modded entities.
It should work with any entity that shows up in the Entity IDs.txt file. Is it not working for you?
I just wanted to ask.
If not all, most modded entities should show up in the Entiy IDs.txt file right?
Yeah, any registered entity should show up there.
and remember each has to be on a separate line. So you should probably add something like
which would make zombies drop 1 iron oreberry 50% of the time.
Hopefully that helps. =)
Sorry if i'm a noob but don't know anything about this. What are the 3-9-8 numbers?
They're the <Min>-<Max>-<Metadata (optional)> values. So in that example the Wither will drop a minimum of 3 necrotic bones, and maximum of 9, and the metadata or "damage" value of the item is 8 (which in this case means the item is a necrotic bone, since the item Tconstruct:materials is used for quite a few items with different metadata). You don't have to put the metadata if it isn't important; it defaults to 0.
Well I'm not getting the error file anymore but I don't seem to get any drop except zombie flesh.I'm trying to get zombies to drop "leather strips" from the "better beginnings" mod min 1 max 2. so how would I do that?
What have you written? Can I see it?
s:"Drops to add to entities : "<
zombie-1.0-true-false-i-betterbeginnings:materials-1-2=4626
The 4626 is the id number of the item I got from NEI
Oh, I see the problem. You have an = sign instead of a dash. Change that to a dash and you should be good. (That would cause an error because it's trying to interpret '2=4626' as a number)
Sorry that was just a type o. it is a dash in the config. So I typed it correctly in the config file from what you see except the = sign?