Greymerk / minecraft-roguelike

This is a mod for minecraft that adds randomly generated dungeon complexes.
GNU General Public License v3.0
129 stars 53 forks source link

tutoria change loot #189

Closed RJHG56 closed 4 months ago

RJHG56 commented 5 years ago

you can do tutorial for how i can change the loot of the dangeons or how i can put other mod´s items in the dungeon

i want to put crystal hearts(of the mod tough of nails) in the last floor of the dungeon so how i can do this i dont know nothing of programing so help please

Alan19 commented 5 years ago

When adding loot to Roguelike dungeons, you will have to create a new dungeon with a custom loot list as a JSON file. Greymerk already provided the default settings so you could copy the example settings folder, place them in your Roguelike Dungeons setting folder, and then change the loot4.json file to add the Crystal Heart.

I would recommend changing the loot array without a loot type to make it possible for the Crystal Heart to spawn in any chest, but there are plenty of other loot types you can add it to as well, such as chests with armor or weapons. You can also use /roguelike settings reload to see if there are any problems with your JSON files.

Roguelike Dungeons Wiki Bottom Floor Default Loot Example Settings