0.5.8 refactor of all files, party, yml based system, damage listener

This commit is contained in:
unurled 2023-04-25 16:27:23 +02:00
parent 3f5e9b1f5e
commit 39de57bf69
160 changed files with 11215 additions and 6137 deletions

17
docs/examples/Effects.md Normal file
View file

@ -0,0 +1,17 @@
# Effects
### Simple Effects
this is an example of a simple effect, it will spawn an armor stand with an item in its hand, for 1
duration then will change to the second item, after 4 delay it will remove the armor stand
```yaml
testEffect:
type: armor_stand
Pose:
RightArm: 0, 0, 0
effects:
- item=testItem_1:0;delay=0;duration=1
- item=testItem_2:0;delay=3;duration=1
- remove;delay=4
```

21
docs/examples/Items.md Normal file
View file

@ -0,0 +1,21 @@
# Items
## Simple Item
see an example of a simple item
```yaml
testItem:
Pack:
custom_model_data: 1
model: raxen/testItem
display_name: '<aqua>Test Item'
material: DIAMOND
lore:
- '<gray>Test Item'
- '<gray>Custom Model Data: <aqua>1'
enchantments:
- 'DURABILITY:1'
effect:
- 'testEffect'
```

32
docs/examples/Mobs.md Normal file
View file

@ -0,0 +1,32 @@
# Mobs
```yaml
testMob:
type: ZOMBIE
display_name: "<aqua>Test Mob"
health: 20
speed: 100
damage_min: 1
damage_max: 2
options:
show_health: true
persistent: true
despawn: true
prevent_other_drops: true
slient: true
prevent_sunburn: true
AI:
target:
- "NONE"
- "PLAYER"
goal:
- "NONE"
- "MOVE_TO_TARGET"
- "ATTACK_TARGET"
effect:
- model=testModel ~spawn
- sound=raxen:raxen.testSound;volume=1.0;pitch=1.0 ~timer:140 0.35
- sound=raxen:raxen.testSoundDeath;volume=1.0;pitch=1.0 ~death
- skill=testSkillDamage ~damaged
- skill=
```

7
docs/examples/README.md Normal file
View file

@ -0,0 +1,7 @@
# Exemples
see all the exemples in this folder :
- [Effects.md](/Elixium/raxen/src/branch/plugin/docs/examples/Effects.md)
- [Items.md](/Elixium/raxen/src/branch/plugin/docs/examples/Items.md)
- [Mobs.md](/Elixium/raxen/src/branch/plugin/docs/examples/Mobs.md)