Sürekli Bizi Takip Eden Bir Mob Nasıl Yapılır

Enderiatus

Kızıltaş Madencisi
En iyi cevaplar
0
Al bakalım onca tartışmanın üstüne iyi gider. Birazıcık da iyiliğimiz ile konuşalım(ehehe). Ana mantık bu, on damage eventlerini kendine göre ayarlarsın artık..
Kod:
command /pet:
    trigger:
        if {petdurum.%player%} is not set:
            set {petdurum.%player%} to false
        if {petdurum.%player%} is true:
            set {petdurum.%player%} to false
            loop entities in radius 16 around player:
                if name of loop-entity is "&a%player% &eDavıh":
                    delete the loop-entity
            stop
        if {petdurum.%player%} is false:
            spawn a chicken 1 meters above player's target block
            set last spawned chicken's name to "&a%player% &eDavıh"
            set {petdurum.%player%} to true
            while {petdurum.%player%} is true:
                loop entities in radius 16 around player:
                    if name of loop-entity is "&a%player% &eDavıh":
                        if distance between loop-entity and player is less than 8:
                            make loop-entity pathfind to player with speed 1
                        else:
                            teleport loop-entity to player
                wait 10 ticks
 
H

HardCore2

Ziyaretçi
Al bakalım onca tartışmanın üstüne iyi gider. Birazıcık da iyiliğimiz ile konuşalım(ehehe). Ana mantık bu, on damage eventlerini kendine göre ayarlarsın artık..
Kod:
command /pet:
    trigger:
        if {petdurum.%player%} is not set:
            set {petdurum.%player%} to false
        if {petdurum.%player%} is true:
            set {petdurum.%player%} to false
            loop entities in radius 16 around player:
                if name of loop-entity is "&a%player% &eDavıh":
                    delete the loop-entity
            stop
        if {petdurum.%player%} is false:
            spawn a chicken 1 meters above player's target block
            set last spawned chicken's name to "&a%player% &eDavıh"
            set {petdurum.%player%} to true
            while {petdurum.%player%} is true:
                loop entities in radius 16 around player:
                    if name of loop-entity is "&a%player% &eDavıh":
                        if distance between loop-entity and player is less than 8:
                            make loop-entity pathfind to player with speed 1
                        else:
                            teleport loop-entity to player
                wait 10 ticks
teşekkür ederim bunu kullanmayacağım.
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
Seni takip eden yün işte ama kafanın üstünde olucak
Kod:
on rightclick:
   if display name of player's tool contains "yetenek2":
     cancel event
     loop 30 times:
       wait 0.1 ticks
       set {_takipedenblock_1} to block 3 above 1 north of player
       if {_takipedenblock_1} is air:
       #   set block at {_takipedenblock_1} to diamond block
         spawn 1 bat at {_takipedenblock_1}
         set the last spawned entity's max health to 20
         set the last spawned entity's health to 20
         apply instant damage 2 to last spawned entity for 8 seconds
         wait 0.4 seconds
         kill last spawned bat
         loop all entities in radius 4 around player:
           if loop-entity is a zombie:
             damage loop-entity by 1
             wait 1 ticks
         #     spawn 5 of particle snow shovel:0.07 at location of loop-entity
       #   if {_takipedenblock_1} is diamond block:
       #     set block at {_takipedenblock_1} to air

Yapım @Minecraftplayerr
# işaretlerini sil çalışıyor :D[DOUBLEPOST=1432028259,1432027927][/DOUBLEPOST]
 

Enderiatus

Kızıltaş Madencisi
En iyi cevaplar
0
Seni takip eden yün işte ama kafanın üstünde olucak
Basit bir mantık ile şu şekilde. Acele ile yazdım hata olabilir..
Kod:
command /yun:
    trigger:
        if {yun.%player%} is not set:
            set {yun.%player%} to false
        if {yun.%player%} is true:
            set {yun.%player%} to false
            stop
        if {yun.%player%} is false:
            set {yun.%player%} to true
            message "açıldı!"
            while {yun.%player%} is true:
                set block at location of {_locyun} to air
                set {_locyun} to location of player
                add 2 to y coordinate of {_locyun}
                set block at location of {_locyun} to wool
                wait 10 ticks
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
@Enderiatus
Kod:
play mobspawner flames on right clicked the iron sword

çalışırmı ?
minigames yapıcam lazım
 

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Kod:
on rightclick:
   if display name of player's tool contains "yetenek2":
     cancel event
     loop 30 times:
       wait 0.1 ticks
       set {_takipedenblock_1} to block 3 above 1 north of player
       if {_takipedenblock_1} is air:
       #   set block at {_takipedenblock_1} to diamond block
         spawn 1 bat at {_takipedenblock_1}
         set the last spawned entity's max health to 20
         set the last spawned entity's health to 20
         apply instant damage 2 to last spawned entity for 8 seconds
         wait 0.4 seconds
         kill last spawned bat
         loop all entities in radius 4 around player:
           if loop-entity is a zombie:
             damage loop-entity by 1
             wait 1 ticks
         #     spawn 5 of particle snow shovel:0.07 at location of loop-entity
       #   if {_takipedenblock_1} is diamond block:
       #     set block at {_takipedenblock_1} to air

Yapım @Minecraftplayerr
# işaretlerini sil çalışıyor :D[DOUBLEPOST=1432028259,1432027927][/DOUBLEPOST]@Axel102 sana bir şey sorucam
Kod:
play mobspawner flames on right clicked the iron sword

çalışırmı ?
minigames yapıcam lazım
SkQeometry ile çok basit bir şekilde yaparsan çalışıcaktır
Kod:
on right click mob spawner holding a iron sword:
    render helix of properties %yarıçapı%, %açısı%, %yükseklik%, %boyutu%, %gecikmesi %parçaçık arası gecikme% at event-location
 

SnKaan

Elmas Madencisi
En iyi cevaplar
0
EchoPet plugini ile her mobu pet yapabilirsin, sana saldırmazlar, üstüne binebilirsin, yetkiye göre pet olusturtabilirsin, onları sürebilirsin ve istemediğin ayarları kapatabilirsin.
 
Üst