chodzi o to że jak zniszcze i postawie to nie regeneruje kamienia
on load:
set {_stowniarka} to "z"
new Recipe "%{_stowniarka}%"
{_stowniarka}.Recipe.registerIngredient{1, 1 stone};
{_stowniarka}.Recipe.registerIngredient{2, 1 stone};
{_stowniarka}.Recipe.registerIngredient{3, 1 stone};
{_stowniarka}.Recipe.registerIngredient{4, 1 stone};
{_stowniarka}.Recipe.registerIngredient{5, 1 diamond};
{_stowniarka}.Recipe.registerIngredient{6, 1 stone};
{_stowniarka}.Recipe.registerIngredient{7, 1 stone};
{_stowniarka}.Recipe.registerIngredient{8, 1 stone};
{_stowniarka}.Recipe.registerIngredient{9, 1 stone};
{_stowniarka}.Recipe.registerResult{end stone with name "&2Stoniarka"};
{_stowniarka}.Recipe.register{};
On place End Stone:
if name of player's tool is "&2Stoniarka":
add location of target block to {stoniarka::*}
send "&aPostawiles Stoniarke"
every 2 second:
loop {stoniarka::*}:
if block above loop-value is air:
set block above loop-value to stone
on break End Stone:
loop {stoniarka::*}:
if loop-value is location of target block:
remove location of target block from {stoniarka::*}
send "&cZniszczyles Stoniarke"
stop
Pytanie
DameQu 0
chodzi o to że jak zniszcze i postawie to nie regeneruje kamienia
on load: set {_stowniarka} to "z" new Recipe "%{_stowniarka}%" {_stowniarka}.Recipe.registerIngredient{1, 1 stone}; {_stowniarka}.Recipe.registerIngredient{2, 1 stone}; {_stowniarka}.Recipe.registerIngredient{3, 1 stone}; {_stowniarka}.Recipe.registerIngredient{4, 1 stone}; {_stowniarka}.Recipe.registerIngredient{5, 1 diamond}; {_stowniarka}.Recipe.registerIngredient{6, 1 stone}; {_stowniarka}.Recipe.registerIngredient{7, 1 stone}; {_stowniarka}.Recipe.registerIngredient{8, 1 stone}; {_stowniarka}.Recipe.registerIngredient{9, 1 stone}; {_stowniarka}.Recipe.registerResult{end stone with name "&2Stoniarka"}; {_stowniarka}.Recipe.register{}; On place End Stone: if name of player's tool is "&2Stoniarka": add location of target block to {stoniarka::*} send "&aPostawiles Stoniarke" every 2 second: loop {stoniarka::*}: if block above loop-value is air: set block above loop-value to stone on break End Stone: loop {stoniarka::*}: if loop-value is location of target block: remove location of target block from {stoniarka::*} send "&cZniszczyles Stoniarke" stopUsuwam formatowanie, wstawiam w code
Notatka dodana przez HeezQ
Odnośnik do komentarza
https://skript.pl/temat/36355-jak-zrobi%C4%87-%C5%BCeby-stoniarka-dzia%C5%82a%C5%82a-na-end-stone/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.