Advertisement
Guest User

Untitled

a guest
Jun 26th, 2016
913
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. This mod is very simple - it allows you to customize all randomly generated chest content.
  2. Just plug it in, run Minecraft once to generate the properties files, edit whatever you want, and restart Minecraft. Bam! Customized chest content!
  3.  
  4. Be aware that some items may change when generated! Enchanted books will have a random enchantment applied and modded items will change into whatever they are modded to change into. There will be no variance in these items within a single chest (e.g., all enchanted books in a single chest will have the same enchantments) unless that chest has been filled multiple times by a mod.
  5.  
  6. Your Custom Chest Loot properties are located in .minecraft/config/CustomChestLoot. Once you've run the game once, the folder will be generated with a text file in it for each chest type. Open it up with any text editor to change its loot table and quanitity.
  7.  
  8. The syntax for the list of items (content) is very important and not described in the config itsef. Each item is determined like so:
  9.  
  10. itemId:itemDamage:stackSize:weight
  11.  
  12. itemId is the item's id.
  13. itemDamage is the item's damage value (optional - if you do not put this in, the item damage will be 0).
  14. stackSize is the size of the stack - this can either be a number or a number range (e.g. 2-3).
  15. weight is how commonly the item will be chosen, relative to the other items in the same category.
  16.  
  17. Each item should then be separated by a comma (,). All items must be on the same line, starting with "contents=".
  18. You are also able to add drops on multiple lines. Be sure you include "content=" in front of each line! This is highly recommended to keep drops you've added separate from the defaults.
  19. You may use any number of spaces between different parts and symbols, if you want. Don't put spaces in the middle of a number or word.
  20.  
  21. You may also change the number of item stacks to generate for a chest type. Simply put "count=" and a number or number range (e.g. 2-3).
  22.  
  23. For example, your default file for dungeon chests (dungeonChest.txt) might look like:
  24.  
  25. count=8-8
  26. contents=329:0:1-1:10,265:0:1-4:10,297:0:1-1:10,296:0:1-4:10,289:0:1-4:10,287:0:1-4:10,325:0:1-1:10,322:0:1-1:1,331:0:1-4:10,2256:0:1-1:10,2257:0:1-1:10,421:0:1-1:10,418:0:1-1:2,417:0:1-1:5,419:0:1-1:1,403:0:1-1:1
  27.  
  28.  
  29. If you ever want to start over, or the game is updated (or you install a mod) to where the default chest gen is different, all you must do to update or restore your defaults is delete the properties files you want, and the mod will generate fresh ones that are up to date with the latest information.
  30. If you've separated the things you added and made backups before you deleted the old files, it's easy to re-add your changes to the updated defaults. However, there's no easy way to re-remove items. You may want to take note of the items you removed somewhere.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement