Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##############################
- # Twórca: IkarusPvP_ #
- # Nazwa skryptu: IStoniarka #
- ##############################
- # Crafting stoniarki
- options:
- 1: redstone # Jak wygląda crafting
- 2: diamond
- 3: redstone
- 4: diamond # # # # # # # # # # # # # #
- 5: stone # | | #
- 6: diamond # 1 | 2 | 3 #
- 7: redstone #________|________|________#
- 8: piston # | | #
- 9: redstone # 4 | 5 | 6 #
- #________|________|________#
- # | | #
- # 7 | 8 | 9 #
- # | | #
- # # # # # # # # # # # # # #
- # Jak działa stoniarka
- on break of stone:
- {IStoniarka.%event-block%} is true:
- player is holding gold pickaxe:
- set {IStoniarka.%event-block%} to false
- send "&8» &cUsunales stoniarke!"
- player can hold 1 end stone:
- give 1 end stone named "&f&lI&3&lStoniarka" to the player
- player doesn't have enough space for 1 end stone named "&f&lI&3&lStoniarka":
- drop 1 end stone named "&f&lI&3&lStoniarka"
- else:
- wait 1.5 second
- set the event-block to stone
- stop
- on place of end stone:
- if tool is end stone named "&f&lI&3&lStoniarka":
- send "&8» &aPostawiles stoniarke!"
- set {IStoniarka.%event-block%} to true
- wait 1 tick
- set event-block to stone
- stop
- on script load:
- register new shaped recipe for 1 end stone named "&f&lI&3&lStoniarka" using {@1}, {@2}, {@3}, {@4}, {@5}, {@6}, {@7}, {@8}, {@9}
Advertisement
Add Comment
Please, Sign In to add comment