Added stamina and transmission

This commit is contained in:
Auxilor 2022-09-05 16:58:41 +01:00
parent 8ac581a2c6
commit 370220853c
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,22 @@
display-name: "Stamina"
description: "Decreases sprinting hunger loss by &a%placeholder%%"
placeholder: "%level% * 20"
type: normal
targets:
- chestplate
conflicts: [ ]
rarity: rare
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: hunger_multiplier
args:
multiplier: "1 - %level% * 0.2"
conditions:
- id: is_sprinting

View File

@ -0,0 +1,34 @@
display-name: "Transmission"
description: "Teleports you &a%placeholder%&8 blocks forward"
placeholder: "3 + %level% * 2"
type: spell
targets:
- sword
conflicts: [ ]
rarity: legendary
max-level: 2
tradeable: true
discoverable: true
enchantable: true
effects:
- effects:
- id: transmission
args:
distance: "3 + %level% * 2"
- id: play_sound
args:
sound: entity_enderman_teleport
pitch: 1.2
volume: 1
args:
cooldown: 90
send_cooldown_message: true
triggers:
- alt_click
conditions: [ ]