Paste #16893: Insta_Furnace

Date: 2015/06/24 07:50:27 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


kit_item_instafurnace:
    type: item
    material: furnace
    display name: Insta-Furnace Kit
    lore:
    - Right click to instantly
    - open a furnace GUI without
    - placing a furnace!

kit_item_instafurnace_world:
    type: world
    debug: false
    events:
        on player right clicks with kit_item_instafurnace:
        - define loc l@<player.location.x>,0,<player.location.z>,<player.location.world.name>
        - modifyblock %loc% furnace
        - modifyblock <def[loc].add[0,1,0]> bedrock
        - adjust <player> open_furnace:%loc%
        - determine cancelled