Mam problem z craftingiem Stoniarki w craftingu
Skrypt:
command /crafting:
trigger:
open chest with 6 rows named "&8&l[&3Craftingi&8&l]" to player
wait 2 tick
format slot 13 of player with 1 of end stone named "&8» &4Stoniarka" to be unstealable
format slot 21 of player with 1 of iron ingot to be unstealable
format slot 22 of player with 1 of stone to be unstealable
format slot 23 of player with 1 of iron ingot to be unstealable
format slot 31 of player with 1 of piston to be unstealable
format slot 30 of player with 1 of stone to be unstealable
format slot 32 of player with 1 of stone to be unstealable
format slot 39 of player with 1 of iron ingot to be unstealable
format slot 40 of player with 1 of stone to be unstealable
format slot 41 of player with 1 of iron ingot to be unstealable
on place of end stone:
send "&3Teraz postaw &7STONE &3lub &eOBSYDIAN&3."
spawn 20 of particle flame offset by 0.5, 0.4, 0.5 at block
on break of stone:
set {_loc.%event-location%} to event-location
loop 16 times:
wait 1 tick
if block under {_loc.%event-location%} is end stone :
set block at {_loc.%event-location%} to stone
on break of obsidian:
set {_loc.%event-location%} to event-location
loop 80 times:
wait 1 tick
if block under {_loc.%event-location%} is end stone :
set block at {_loc.%event-location%} to obsidian
on mine of end stone:
cancel event
set block to air
if player can hold end stone :
give 1 end stone named "&8» &4Stoniarka" to player
else:
drop 1 end stone named "&8» &4Stoniarka"
on script load:
register new shaped recipe for end stone named "&8» &4Stoniarka" using iron ingot, stone, iron ingot, stone, piston, stone, iron ingot, stone, iron ingot
Pytanie
kiroxtv 3
Mam problem z craftingiem Stoniarki w craftingu
Skrypt:
command /crafting: trigger: open chest with 6 rows named "&8&l[&3Craftingi&8&l]" to player wait 2 tick format slot 13 of player with 1 of end stone named "&8» &4Stoniarka" to be unstealable format slot 21 of player with 1 of iron ingot to be unstealable format slot 22 of player with 1 of stone to be unstealable format slot 23 of player with 1 of iron ingot to be unstealable format slot 31 of player with 1 of piston to be unstealable format slot 30 of player with 1 of stone to be unstealable format slot 32 of player with 1 of stone to be unstealable format slot 39 of player with 1 of iron ingot to be unstealable format slot 40 of player with 1 of stone to be unstealable format slot 41 of player with 1 of iron ingot to be unstealable on place of end stone: send "&3Teraz postaw &7STONE &3lub &eOBSYDIAN&3." spawn 20 of particle flame offset by 0.5, 0.4, 0.5 at block on break of stone: set {_loc.%event-location%} to event-location loop 16 times: wait 1 tick if block under {_loc.%event-location%} is end stone : set block at {_loc.%event-location%} to stone on break of obsidian: set {_loc.%event-location%} to event-location loop 80 times: wait 1 tick if block under {_loc.%event-location%} is end stone : set block at {_loc.%event-location%} to obsidian on mine of end stone: cancel event set block to air if player can hold end stone : give 1 end stone named "&8» &4Stoniarka" to player else: drop 1 end stone named "&8» &4Stoniarka" on script load: register new shaped recipe for end stone named "&8» &4Stoniarka" using iron ingot, stone, iron ingot, stone, piston, stone, iron ingot, stone, iron ingot
Ktoś jest w stanie pomóc?
Odnośnik do komentarza
Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi