Spawn Blocks on a Specific Loc?

Status
This thread has been locked.

loltayber

귀여운
Banned
Feedback score
8
Posts
1,298
Reactions
304
Resources
0
Can't Simple Do it.

Can someone help me?
I need it to spawn on a specifi x,y,z
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

pigg121

Feedback score
23
Posts
101
Reactions
38
Resources
0
Code:
set {_loc} to location at 0, 150, 0 of the world "world"
set block at {_loc} to stone
 

loltayber

귀여운
Banned
Feedback score
8
Posts
1,298
Reactions
304
Resources
0
Code:
set {_loc} to location at 0, 150, 0 of the world "world"
set block at {_loc} to stone
Thank you!
I'll try to do this.
[DOUBLEPOST=1485517110][/DOUBLEPOST]
Code:
set {_loc} to location at 0, 150, 0 of the world "world"
set block at {_loc} to stone
Is it possible if i do /setblockchest
and clikc a chest to be the {_loc}?
Also if it's possilbe, can i make the {_loc} block invisible if a variable is true?
 
Last edited:
Banned forever. Reason: Scamming (https://builtbybit.com/threads/loltayber-scam-report.425219/)

pigg121

Feedback score
23
Posts
101
Reactions
38
Resources
0
Thank you!
I'll try to do this.
[DOUBLEPOST=1485517110][/DOUBLEPOST]
Is it possible if i do /setblockchest
and clikc a chest to be the {_loc}?
Also if it's possilbe, can i make the {_loc} block invisible if a variable is true?
Code:
command /setblockchest:
    permission: skript.op
    trigger:
        give golden axe named "&bBlockChest WAND"
           
On rightclick:
    if player's tools is golden axe named "&bBlockChest WAND":
        if player has permission "skript.op":
            if clicked block is set:
                set {chestlocation} to location of clicked block
                send "&bBlockChest&f: %{chestlocation}%"
 

loltayber

귀여운
Banned
Feedback score
8
Posts
1,298
Reactions
304
Resources
0
Code:
command /setblockchest:
    permission: skript.op
    trigger:
        give golden axe named "&bBlockChest WAND"
          
On rightclick:
    if player's tools is golden axe named "&bBlockChest WAND":
        if player has permission "skript.op":
            if clicked block is set:
                set {chestlocation} to location of clicked block
                send "&bBlockChest&f: %{chestlocation}%"
Can i do this with multiple Blocks?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/loltayber-scam-report.425219/)

pigg121

Feedback score
23
Posts
101
Reactions
38
Resources
0
Can i do this with multiple Blocks?
Code:
command /setblockchest:
    permission: skript.op
    trigger:
        give golden axe named "&bBlockChest WAND"
           
On rightclick:
    if player's tools is golden axe named "&bBlockChest WAND":
        if player has permission "skript.op":
            if clicked block is set:
                add location of clicked block to {chestblocks::*}
                send "&aBlockChest&f: %location of clicked block%"
               
On leftclick:
    if player's tools is golden axe named "&bBlockChest WAND":
        if player has permission "skript.op":
            if clicked block is set:
                set {_loc} to location of clicked block
                loop {chestblocks::*}:
                    if {chestblocks::%loop-index%} is {_loc}:
                        delete {chestblocks::%loop-index%}
                        send "&cBlockChest&f: %location of clicked block%"
 

loltayber

귀여운
Banned
Feedback score
8
Posts
1,298
Reactions
304
Resources
0
Code:
command /setblockchest:
    permission: skript.op
    trigger:
        give golden axe named "&bBlockChest WAND"
          
On rightclick:
    if player's tools is golden axe named "&bBlockChest WAND":
        if player has permission "skript.op":
            if clicked block is set:
                add location of clicked block to {chestblocks::*}
                send "&aBlockChest&f: %location of clicked block%"
              
On leftclick:
    if player's tools is golden axe named "&bBlockChest WAND":
        if player has permission "skript.op":
            if clicked block is set:
                set {_loc} to location of clicked block
                loop {chestblocks::*}:
                    if {chestblocks::%loop-index%} is {_loc}:
                        delete {chestblocks::%loop-index%}
                        send "&cBlockChest&f: %location of clicked block%"
left click option is for multiple blocks
and right click isn't right?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/loltayber-scam-report.425219/)

loltayber

귀여운
Banned
Feedback score
8
Posts
1,298
Reactions
304
Resources
0
Last edited:
Banned forever. Reason: Scamming (https://builtbybit.com/threads/loltayber-scam-report.425219/)

pigg121

Feedback score
23
Posts
101
Reactions
38
Resources
0
Thank you so much.[DOUBLEPOST=1485518454][/DOUBLEPOST]
Wait? Add Blocks? You mean sets the variable to a block, right?
Adds the location of the block to a variable with a self-incrementing suffix
 

loltayber

귀여운
Banned
Feedback score
8
Posts
1,298
Reactions
304
Resources
0
Adds the location of the block to a variable with a self-incrementing suffix
Okay, cool. Thanks. I'll try to get back if anything happens.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/loltayber-scam-report.425219/)
Status
This thread has been locked.
Top