Tutorial
Slabaugh opened this issue ยท 1 comments
I might Just be a idiot and not understand this but this plugin is exactly what iv been looking for, and I can not figure it our for the life, of me, any help would be amazing, thanks
-slabaugh
Rest assured, you are not an idiot. The current state of this plugin is complected and requires and understanding of JavaScript Object Notation (JSON). What I hope to do is build a configuration utility that allows you to configure the encounters using a web GUI.
I have tried to bundle a pre-configured package of encounters with this, but I understand it may not be very good. It is really just to test the operation of the plugin. The power of this, is that you can define the encounters how ever you want.
The main thing to remember is the name of each item (Structure,Treasure, Mob, Encounter) is the reference point. A Structure simply defines what schematic should be used and how it should be placed. A Treasure defines items that will be used by creatures, dropped by creatures, or placed in chests. A Mob defines the creatures that will be spawned and with what Treasures. The Encounter ties all of this together. The structure, the treasures, and the mobs.
Most things have a probability, which is the sense of randomness that this provides. The probability ranges from 0 to 1. Where 0 will never happen and 1 will always happen. So 0.25 gives a 25% chance that whatever will have one more. One more item in the Treasure, one more creature in a Mob, etc. With the exception of the Encounter probability which defines the percentage of new chunks that will be checked to place the encounter.
Expansion, TreasureGroups, and MobGroups are more complex and are just ways to chain things together.
I know this may not be of much help, but if you have specific questions, I will do my best to answer them.