Tak, spróbowałem chwile po napisaniu tego tematu z tym dodawaniem i działało, co do 3 of dirt/ 3 dirt jedno i to samo, nie zmieni to nic co jedynie wyglad kodu
Witam ta czesc kodu crashuje moj serwer a dokladniej set {drops::*}
on load:
set {head_gift} to "{SkullOwner:{Id:""36bf3f06-2993-40a4-acfb-1359394f7862"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWI4NWUyOWYyOWVjOWE5MGU0ODJlYTViODM5MWJjYjQ1NjBiYmFlMGRjZDE1ZDdjZTFkODYwMTZiNDM1NmU5OCJ9fX0=""}]}}}"
set {_n3} to nbt compound from "%{head_gift}%"
set {_n} to nbt compound from "{niggereknachujtuzagladasz:250}"
set {drops::*} to 2 player head with nbt {_n3} named "&aLucky Box" and lime dye named "&a250$ &8(&7ADMIN&8)" with nbt {_n} and 5 diamond and 32 Oak log and 12 book and 1 enchanting table and dirt named "&x&6&7&4&0&1&2Dirt" and diamond sword named "&f&lOstrze Frostmourne" with sharpness 6 and fire aspect 3 and unbreaking 5
Czy da sie to zrobic jakos optymalniej?
Witam dawno mnie tu nie było, potrzebuje pomocy
da się usunąć color z tekstu???
np. mam item nazwany &f&lElo da sie zrobic tak aby zmienna wykryla tą nazwe i zostawila samo Elo bez koloru
on break:
if name of player's tool is "&b[StatTrak] &eKilof" or "&0[StatTrak*] &eKilof" or "&a[StatTrak*] &eKilof":
add 1 to {stone::%player%}
set lore of player's tool to "&7Wykopane bloki: &e%{stone::%player%}%"
if {stone::%player%} >= 1000:
if name of player's tool is "&b[StatTrak] &eKilof":
set name of player's tool to "&0[StatTrak*] &eKilof"
if {stone::%player%} < 1000:
set name of player's tool to "&b[StatTrak] &eKilof"
else:
Mozna zrobic tak ze np 1000 blokow wykopanych i kilof znika/niszczy sie jak tak to pomozcie pls