Iskallia / MegaLoot

Minecraft Mod: Mega Loot
7 stars 5 forks source link

Mega loot and Roguelike Dungeons #12

Open Budhvin opened 6 years ago

Budhvin commented 6 years ago

Hi,

I guess i will begin by saying that I am not the best at coding. I want to add the 3 versions of chests and the ring spawner into the mod roguelike dungeons.

Budhvin commented 6 years ago

https://pastebin.com/4XgX9x8v

this is the code I have been trying to use. I kept getting Not a Json Object : null in Roguelike Dungeons. Any idea why?

" I finally figured it out in case anyone else was looking. You must add the meta tag for the 4 different types of weapon cases. Here's a sample line: {"data" : {"name" : "weaponcaseloot:weaponcase", "meta" : 1}, "weight" : 4}

The meta information is as follows: Sword First Edition - "meta" : 1 Sword Second Edition - "meta" : 2 Bow - "meta" : 3 Ring - "meta" : 4

Hope that helps. Happy modding! "

do i use similar language and change the meta to get the items to spawn?