Posted March 23, 201312 yr Can someone give me an example of the code needed (in the main class) of how to add a dungeon loot i have spent a lot of time trying to figure this out with no such luck and my old post was kind of off on a tangent. I am asking for a clear example because i am not very good at understanding java yet and have a tendacy to be a moron . Use examples, i have aspergers. Examples make sense to me.
March 23, 201312 yr Author that was not my question. Use examples, i have aspergers. Examples make sense to me.
March 24, 201312 yr Author i found the correct code; ChestGenHooks.getInfo(ChestGenHooks.Catagory).addItem(new WeightedRandomChestContent(new ItemStack(package.Item), Min, Max, Chance)); Use examples, i have aspergers. Examples make sense to me.
March 25, 201312 yr when I did that, it made the game crash. Is there a certain place I should put it. EDIT: I fixed it. I had the min, max, chance in the wrong order
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.