Warning: Undefined variable $http_response_header in /var/www/html/new/skunity/library/skUnity/Util/HTTP.php on line 95

skunitybackup-515.sk

Created by Unknown

Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.

on break:
    player is sneaking
    player's tool is an axe
    player has permission "lumber.use"
    id of event-block is 17 or 162
    id of block above event-block is 17 or 162
    set {_int} to 0
    set {_l} to location of the event-block
    set {_x} to (x-coordinate of {_l}) - 1
    set {_y} to (y-coordinate of {_l}) - 1
    set {_z} to (z-coordinate of {_l}) + 1
    set {_l1} to location at x = {_x}, y = {_y}, z = {_z} of the world "world"
    set {_x} to (x-coordinate of {_l}) + 1
    set {_y} to (y-coordinate of {_l}) + 1
    set {_z} to (z-coordinate of {_l}) - 1
    set {_l2} to location at x = {_x}, y = {_y}, z = {_z} of the world "world"
    loop blocks within {_l1} to {_l2}:
        set {_i} to id of loop-block
        if {_i} is 17 or 162:
            drop loop-block
            set loop-block to air
            add location of loop-block to {_tree::*}
            add 1 to {_int}
    set {_cont} to true
    set {_le} to 0
    if id of event-block is 17:
        if data value of event-block is 0 or 1:
            set {_m} to 90
        else if data value of event-block is 2:
            set {_m} to 70
        else if data value of event-block is 3:
            set {_m} to 420
    else:
        if data value of event-block is 0:
            set {_m} to 90
        else:
            set {_m} to 120
    set {_time} to now
    while {_cont} is true:
        if difference between {_time} and now is more than 30 seconds:
            set {_cont} to false
        if size of {_tree::*} is 0:
            set {_cont} to false
        if {_int} > {_m}:
            set {_cont} to false
        if player's tool is not an axe:
            set {_cont} to false
        loop {_tree::*}:
            set {_e} to "%enchants of player's tool%"
            if "%{_e}%" contains "Unbreaking" or "Unbreaking,":
                if player's tool is a diamond axe or iron axe:
                    damage player's tool by 2
                else if player's tool is a stone or wooden axe:
                    damage player's tool by 3
                else if player's tool is a gold axe:
                    damage player's tool by 4
            else:
                if player's tool is a diamond axe or iron axe:
                    damage player's tool by 3
                else if player's tool is a stone or wooden axe:
                    damage player's tool by 4
                else if player's tool is a gold axe:
                    damage player's tool by 5
            if id of block at loop-value is 18 or 161:
                wait 2 tick
            else:
                wait 1 tick
            set {_l} to loop-value
            set {_x} to (x-coordinate of {_l}) - 1
            set {_y} to (y-coordinate of {_l}) - 1
            set {_z} to (z-coordinate of {_l}) + 1
            set {_l1} to location at x = {_x}, y = {_y}, z = {_z} of the world "world"
            set {_x} to (x-coordinate of {_l}) + 1
            set {_y} to (y-coordinate of {_l}) + 2
            set {_z} to (z-coordinate of {_l}) - 1
            set {_l2} to location at x = {_x}, y = {_y}, z = {_z} of the world "world"
            loop blocks within {_l1} to {_l2}:
                set {_i} to id of loop-block
                if {_i} is 17 or 162:
                    drop loop-block
                    set loop-block to air
                    add location of loop-block to {_tree::*}
                    add 1 to {_int}
                    play raw sound "dig.wood" at loop-block with pitch 1 volume 1
                else if {_i} is 18 or 161:
                    if id of event-block is 17:
                        data value of event-block is 0
                        chance of 25%:
                            drop apple at loop-block
                    chance of 50%:
                        drop sapling at loop-block
                    set loop-block to air
                    add location of loop-block to {_tree::*}
                    add 1 to {_int}
                    add 1 to {_le}
                    play raw sound "dig.wood" at loop-block with pitch 1 volume 1 
            delete {_tree::%loop-index%}