The work of mystics
here we will look at how mystics work and describe each of the functions
Last updated
here we will look at how mystics work and describe each of the functions
Last updated
The mystic will spawn with a certain chance after a certain cooldown at certain coordinates, there are 2 types of spawn:
On random coordinates, in the range from x1 to x2 and from z1 to z2
At the specified coordinates - xyz
After this, the mystic himself will not spawn completely, he will wait until players appear at needDistance and only then will he physically spawn
There are also several other message types
There is also a message blocking opening
When it spawns, a region is created around it in order to avoid breaking the block itself and its surroundings
You can also configure flags and prohibited commands of the region, as well as the size of the region
It is possible to add holograms in mysticism and change them
This is what yml looks like with the settings:
Here is a list of available placeholders
The mystic type is a block material that will be represented as the mystic itself
This is what the default mystic setting looks like, loot is configured in the menu
As you can see, setting up default items in yml is inconvenient, but why? Because items are configured via gui
There are 4 types of activation animations
Block animation - triggers when the mystic is not available for opening
First open animation - triggers when someone tries to activate mystic for the first time
Start open animation - triggers when someone opens the mystic for the first time after it has been activated
Spawn animation - triggers when the mystic spawns
Here is a list of all available animations:
If you set the mystic's statistics, then he will not respawn in another place, but will remain in the same place after respawning.
Mystic disappears 5 times:
The cooldown expires and it respawns itself
He gets looted and disappears
When the mystic has not been looted and past a certain amount of time
When the mystic was not looted
Command /mystic despawn or delete
If you want to make your mystic discovery more exciting and challenging, then you connect MythicMobs and when the mystic spawns, your mob will appear
When the mystic is activated, all nearby players will be thrown aside. This function is configured in yml