command /xd:
Trigger:
loop all blocks between (location at (25, 0 25)) and (location at (-25, 100, - 25)):
If loop-block is water:
If block above loop-block is air:
Set block above loop-block to water
Add diamond to inventory of event-block bo ty ciągle ustawiasz slot na jednego diaxa
Wiadomość ustaw po pętli a w pętli ten proces dropienia np:
Send "&7twoja maszyna zaczęła pracować!"
loop 10 times:
Add diamond to inventory of event-block
Wait 4 second
Send "&7twoja maszyna się wyczerpala!"
Jeżeli masz tam jakiś region
Options:
region: pvp
msg: Uważaj! Na strefie pvp możesz zginąć!
on region enter:
if "%region%" contain "{@region}":
Send "{@msg}" to player
on place cobblestone:
set {cob::%location of event-block%} to player
On right click:
If player has golden axe:
If clicked block is cobblestone:
If {cob::%location of event-block%} is player:
execute player command "mlot"
else:
send "&7To nie twoj blok!"
set {_x} to random integer between -2000 and 2000
set {_z} to random integer between -2000 and 2000
set {_loc} to location at ({_x, 100, {_z}) in world "rtp"
teleport player to {_loc}
on sharpsk armor equip:
If event-item is <twój item>:
Apply <twój efekt> to player for 999 hour
On sharpsk armor un equip:
If event-item is <twój item>:
Remove <twój efekt> from player
Zrób to tak
W on load rejestruj crafting z pliku yml bo chyba po coś go dałeś. Bo to normalne że craftingi się usuwają.
Zapisuj nazwę i lore do yml
Co do skryptu to pomysł ok ale mogło być lepij
On damage of player:
if attacker is player:
Set {dmg::%victim%} to attacker
on death of player:
if attacker is not player:
Add drops to {dmg::%victim%}
Clear drops