Kaktüs Bugu

HobbitNetwork

mc.hobbitcraft.net
En iyi cevaplar
0
Başkasının adasına tp oluyor. Kaktüse vuruyor . İzin olmadıgı icin kirilmiyor ama kaktüs düsüyor. Bir de yaninda chest olunca oluyor bu . 4 blok etrafina chest v.s konulmasini yasaklamam lazim.
 

ShiodomeMiuna

Nether Yerlisi
En iyi cevaplar
11
PHP:
on place of chest:
    loop blocks in radius 4 around the block:
        if loop-block is cactus:
            cancel event

on place of cactus:
    loop blocks in radius 4 around the block:
        if loop-block is chest:
            cancel event

Buyur.
 

Rosenrot

LAGOMORPHA
En iyi cevaplar
0
PHP:
on command "/is":
    if {ilk.kullanim.%player%} is not set:
        set {ilk.kullanim.%player%} to true
        wait 1 seconds
        loop all blocks in radius 10 of player:
            if loop-block is not air:
                set {adasahibi::%loop-block%::%player%} to true
     
on break:
    if {adasahibi::%event-block%::%player%} is not set:
        if player is not op:
            cancel event
            if event-block is a cactus block:
                loop all entities in radius 2 of event-location:
                    if loop-entity is an item:
                        delete loop-entity
                 
on place:
    if block at location 1 meters forwards event-location is a cactus block:
        cancel event
    else if block at location 1 meters backwards event-location is a cactus block:
        cancel event
    else if block at location 1 meters left of event-location is a cactus block:
        cancel event
    else if block at location 1 meters right of event-location is a cactus block:
        cancel event
 
Son düzenleme:
Üst