- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleBedHome
TypeDenizen Script
Date2015/12/19 13:26:16 UTC-08:00
ByBerufeng
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2700
BedHome:
    type: command
    name: bedhome
    description: Returns you to your bed.
    aliases:
        - bed
        - home
    script:
        - if <player.bed_spawn||null> != null {
            - teleport <player> <player.bed_spawn>
            - wait 1t
            - narrate "<&2>You have been teleported to your bed."
            - queue clear
        } else {
            - narrate "<&2>No bed was found."
            - queue clear
        }
        
        
BedSet:
    type: world
    events:
        on player right clicks bed_block:
            - adjust <player> bed_spawn_location:<player.location>
            - narrate "<&2>Your bed location has been set."
            - queue clear



RawRaw



Pastes made: 70270