Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Dopisanie drop rudy


Rekomendowane odpowiedzi

Opublikowano

Co dopisać aby nie wypadały surowce z ród ? 

o
n mine of any ingot:
cancel event
delete block
send "&eTen surowiec wypada tylko z kamienia!"
on mine of stone:
add 10 exp to player
if player's tool is a diamond pickaxe of fortune:
chance of 10.0%:
give 1 iron ingot to the player
chance of 10.0%:
give 1 gold ingot to the player
chance of 10.0%:
give 1 emerald to the player
chance of 10.0%:
give 1 diamond to the player
chance of 10.0%:
give a random number between 1 and 1 of redstone to the player
chance of 10.0%:
give 1 coal to the player
chance of 10.0%:
give a random number between 1 and 1 of lapis lazuli to the player
chance of 3.0%:
give a random number between 1 and 1 of ender pearl to the player
else:
chance of 10.0%:
give 1 iron ingot to the player
chance of 10.0%:
give 1 gold ingot to the player
chance of 10.0%:
give 1 emerald to the player
chance of 10.0%:
give 1 diamond to the player
chance of 10.0%:
give a random number between 1 and 1 of redstone to the player
chance of 10.0%:
give 1 coal to the player
chance of 10.0%:
give a random number between 1 and 1 of lapis lazuli to the player
chance of 3.0%:
give a random number between 1 and 1 of ender pearl to the player
command /drop:
trigger:
send "&c*** &3Drop z kamienia &c***"
send "&c*&7 Diament:&6 10.0"
send "&c*&7 Szmaragd:&6 10.0"
send "&c*&7 Zloto:&6 10.0"
send "&c*&7 Zelazo:&6 10.0"
send "&c*&7 Wegiel:&6 10.0"
send "&c*&7 Redstone:&6 10.0"
send "&c*&7 Perly:&6 3.0"
Opublikowano

Heh,

 

on break:
    if event-block is any ore:
        cancel event
        set event-block to air
        drop 1 stone at location of event-block
        stop

Nie pamiętam czy any ore działa, ale chyba tak ;P

Zrób tak samo z resztą rud.

Co do twojego kodu, to wydarzenie on mine zamień na on break.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...