Skript Paylaşımı Sağ Tıklayınca Otomatik Ekme ve Biçme Yapmak.

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

HaciGandalf

Katniss Everdeen
Katılım
23 Nisan 2019
Mesajlar
136
Elmaslar
72
Puan
13.535
Yaş
22
Konum
Türkiye / İstanbul
Discord İzni
Minecraft
HaciGandalf

Discord:

hacigandalf

Forumda bir arkadaşın buna benzer bir şey istediğini gördüm. Konusu çözüme ulaştırılmadan kapatılmış ben de yapıp atayım dedim.

Envanterinizde sağ tıkladığınız ekinin eşyası bulunuyorsa otomatik olarak toplar ve eker. Eğer bulunmuyorsa sadece toplar.

Eğer elinizde eşyada Servet büyüsü bulunuyorsa topladığınız ekinler daha fazla gelir.

Buğday, Havuç, Patates ve Şeker Pancarı ekinlerinde çalışmaktadır.

1.16.5 Sürümünde sorunsuz bir şekilde çalışıyor.



Kod:
on rightclick holding a air or pickaxe or shovel or axe or hoe:
    if event-block is ripe wheat plant:
        if player has 1 of wheat seeds:
            remove 1 of wheat seeds from player
            set event-block to wheat item
            drop 1 wheat at event-block
            drop (random integer between 1 and 3) of wheat seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 4) of wheat seeds at event-block
        else:
            set event-block to air
            drop 1 wheat at event-block
            drop (random integer between 1 and 3) of wheat seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 4) of wheat seeds at event-block
    if event-block is ripe carrot plant:
        if player has 1 of carrot:
            remove 1 of carrot from player
            set event-block to carrot plant
            drop (random integer between 2 and 5) of carrot at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop 3 of carrot at event-block
        else:
            set event-block to air
            drop (random integer between 2 and 5) of carrot at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop 3 of carrot at event-block
    if event-block is ripe potato plant:
        if player has 1 of potato:
            remove 1 of potato from player
            set event-block to potato plant
            drop (random integer between 2 and 6) of potato at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if chance of 2%:
                drop 1 of poisonous potato at event-block
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 3) of potato at event-block
        else:
            set event-block to air
            drop (random integer between 2 and 6) of potato at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if chance of 2%:
                drop 1 of poisonous potato at event-block
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 3) of potato at event-block
    if event-block is ripe beetroot plant:
        if player has 1 of beetroot seeds:
            remove 1 of beetroot seeds from player
            set event-block to beetroot plant
            drop 1 beetroot at event-block
            drop (random integer between 1 and 4) of beetroot seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 1 and 3) of beetroot seeds at event-block
        else:
            set event-block to air
            drop 1 beetroot at event-block
            drop (random integer between 1 and 4) of beetroot seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 1 and 3) of beetroot seeds at event-block
 
Son düzenleme:
Gayet hoş bir skripte benziyor eline emeğine sağlık.
 
Mükkemel Bir Skript Eline Sağlık Çok Güzel Olmuş.
 
Konuyu fotoğraflarla destekleyebilirdiniz, skript hoş gözüküyor.
GolDunEll#0001 discord üzerinden ulaşabilir misiniz?
 
Plugin olarak zaten var olsa da yine de iyi olmuş, başarılar! :)
 
Forumda bir arkadaşın buna benzer bir şey istediğini gördüm. Konusu çözüme ulaştırılmadan kapatılmış ben de yapıp atayım dedim.

Envanterinizde sağ tıkladığınız ekinin eşyası bulunuyorsa otomatik olarak toplar ve eker. Eğer bulunmuyorsa sadece toplar.

Eğer elinizde eşyada Servet büyüsü bulunuyorsa topladığınız ekinler daha fazla gelir.

Buğday, Havuç, Patates ve Şeker Pancarı ekinlerinde çalışmaktadır.

1.16.5 Sürümünde sorunsuz bir şekilde çalışıyor.


Kod:
on rightclick holding a air or pickaxe or shovel or axe or hoe:
    if event-block is ripe wheat plant:
        if player has 1 of wheat seeds:
            remove 1 of wheat seeds from player
            set event-block to wheat item
            drop 1 wheat at event-block
            drop (random integer between 1 and 3) of wheat seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 4) of wheat seeds at event-block
        else:
            set event-block to air
            drop 1 wheat at event-block
            drop (random integer between 1 and 3) of wheat seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 4) of wheat seeds at event-block
    if event-block is ripe carrot plant:
        if player has 1 of carrot:
            remove 1 of carrot from player
            set event-block to carrot plant
            drop (random integer between 2 and 5) of carrot at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop 3 of carrot at event-block
        else:
            set event-block to air
            drop (random integer between 2 and 5) of carrot at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop 3 of carrot at event-block
    if event-block is ripe potato plant:
        if player has 1 of potato:
            remove 1 of potato from player
            set event-block to potato plant
            drop (random integer between 2 and 6) of potato at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if chance of 2%:
                drop 1 of poisonous potato at event-block
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 3) of potato at event-block
        else:
            set event-block to air
            drop (random integer between 2 and 6) of potato at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if chance of 2%:
                drop 1 of poisonous potato at event-block
            if event-item is enchanted with fortune:
                drop (random integer between 2 and 3) of potato at event-block
    if event-block is ripe beetroot plant:
        if player has 1 of beetroot seeds:
            remove 1 of beetroot seeds from player
            set event-block to beetroot plant
            drop 1 beetroot at event-block
            drop (random integer between 1 and 4) of beetroot seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 1 and 3) of beetroot seeds at event-block
        else:
            set event-block to air
            drop 1 beetroot at event-block
            drop (random integer between 1 and 4) of beetroot seeds at event-block
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            if event-item is enchanted with fortune:
                drop (random integer between 1 and 3) of beetroot seeds at event-block
Oyuncular claimli yerlerdeki tarlaları bunun sayesinde alabiliyor. Düzeltme şansınız var mı? Kullandığım eklenti: GriefPrevention
 
Oyuncular claimli yerlerdeki tarlaları bunun sayesinde alabiliyor. Düzeltme şansınız var mı? Kullandığım eklenti: GriefPrevention
İstediğin şeyin yapılması mümkün fakat bunun nasıl yapıldığını bilmiyorum.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst