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 crafting cobblestonex + skript


mivlol12

Rekomendowane odpowiedzi

Opublikowano
command /Cobblex:
trigger:
if player has 576 cobblestone:
remove 576 cobblestone from player
give a 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" to the player
else:
send " &8» &cNie posiadasz 9*64 cobblestone"
on rightclick:
player is holding a emerald ore named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot":
clear {_cs}
set {_cs} to 1 or 2 or 3 or 5 or 7 or 8 or 9 or 0 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22
chance of 1%:
set {_cs} to 0
if {_cs} is 0:
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Niestety nic nie wydropiles! ;(" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 1:
give 5 gold block to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &85 GOLD BLOCKO'W" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 2:
give 5 diamond block to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &85 DIAMOND BLOCKO'W&" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 3:
give 3 anvil to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &83 KOWADLA&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 4:
give 5 iron block to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &85 IRON BLOCKO'W&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 5:
give 6 golden apple to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &86 ZLOTYCH JABLEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 6:
give 2 enchanted golden apple to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &82 KOXY&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 7:
give 32 glowstone to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 JASNOGLAZU&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 8:
give 6 bookshelf to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &86 BIBLIOTECZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 9:
give 12 book to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &812 KSIAZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 10:
give 32 nether brick to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 NETHER BRICK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 11:
give 3 bookshelf to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8BIBLIOTECZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 12:
give 18 book to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &818 KSIAZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 13:
give a diamond sword of sharpness 5 and fire aspect 2 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8MIECZ 5/2&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 14:
give a diamond sword of sharpness 3 and fire aspect 2 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8MIECZ 3/2&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 15:
give 32 apple to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 JABLEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 16:
give 3 ender pearl to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &83 ENDER PERLY&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 17:
give a diamond helmet of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8HELM 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 18:
give a diamond chestplate of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8KLATE 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 19:
give a diamond leggings of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8SPODNIE 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 20:
give a diamond boots of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8BUTY 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 21:
give a bow of punch 2 and infinity 1 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8LUK 3/2&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 22:
give 32 obsidian to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 OBSYDIANU&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
on place:
if name of player's tool contains "&6» &7CobbleX":
lore of player's tool contains "&6» &7Kliknij PPM aby wydropic przedmiot":
cancel event


command /cx:
trigger:
if player has 576 cobblestone:
remove 576 cobblestone from player
give a 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" to the player
else:
send "&6» &cNie posiadasz 9*64 cobblestone"
on rightclick:
player is holding a emerald ore named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot":
clear {_cs}
set {_cs} to 1 or 2 or 3 or 5 or 7 or 8 or 9 or 0 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22
chance of 1%:
set {_cs} to 0
if {_cs} is 0:
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Niestety nic nie wydropiles! ;(" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 1:
give 5 gold block to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &85 GOLD BLOCKO'W" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 2:
give 5 diamond block to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &85 DIAMOND BLOCKO'W&" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 3:
give 3 anvil to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &83 KOWADLA&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 4:
give 5 iron block to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &85 IRON BLOCKO'W&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 5:
give 6 golden apple to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &86 ZLOTYCH JABLEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 6:
give 2 enchanted golden apple to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &82 KOXY&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 7:
give 32 glowstone to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 JASNOGLAZU&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 8:
give 6 bookshelf to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &86 BIBLIOTECZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 9:
give 12 book to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &812 KSIAZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 10:
give 32 nether brick to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 NETHER BRICK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 11:
give 3 bookshelf to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8BIBLIOTECZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 12:
give 18 book to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &818 KSIAZEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 13:
give a diamond sword of sharpness 5 and fire aspect 2 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8MIECZ 5/2&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 14:
give a diamond sword of sharpness 3 and fire aspect 2 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8MIECZ 3/2&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 15:
give 32 apple to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 JABLEK&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 16:
give 3 ender pearl to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &83 ENDER PERLY&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 17:
give a diamond helmet of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8HELM 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 18:
give a diamond chestplate of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8KLATE 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 19:
give a diamond leggings of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8SPODNIE 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 20:
give a diamond boots of protection 4 and unbreaking 3 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8BUTY 4/3&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 21:
give a bow of punch 2 and infinity 1 to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &8LUK 3/2&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
if {_cs} is 22:
give 32 obsidian to the player
remove 1 129 of unbreaking 10 named "&6» &7CobbleX" with lore "&6» &7Kliknij PPM aby wydropic przedmiot" from player
create timed bar with text "&6» &7Wydropiles &832 OBSYDIANU&6" to player for 3 seconds
launch ball large firework colored red at player timed 1
stop
on place:
if name of player's tool contains "&6» &7CobbleX":
lore of player's tool contains "&6» &7Kliknij PPM aby wydropic przedmiot":
cancel event
on load:
        new RECIPE "cx";
        "cx".RECIPE.registerIngredient{1, 64 4};
        "cx".Recipe.registerIngredient{2, 64 4};
        "cx".Recipe.registerIngredient{3, 64 4};
        "cx".Recipe.registerIngredient{4, 64 4};
        "cx".Recipe.registerIngredient{5, 64 4};
        "cx".Recipe.registerIngredient{6, 64 4};
        "cx".Recipe.registerIngredient{7, 64 4};
        "cx".Recipe.registerIngredient{8, 64 4};
        "cx".Recipe.registerIngredient{9, 64 4};
        "cx".Recipe.registerResult{1 cobblestone named "&7CobbleX"};
        "cx".Recipe.REGISTER{};

Pls help!!!

Opublikowano

No okej, masz problem ale jaki?

O ile mnie pamięć nie myli, to skript jest na tyle spoko, że w consoli wszystko Ci napisze co źle zrobiłeś.

 

 

@Edit

 

Tak wróciłem do tematu i obczaiłem to:
"cx".RECIPE.registerIngredient{1, 64 4};

 

 

Nie wiem czy to tak działało, ale chyba też powinno być tak jak reszta czyli: 

"cx".Recipe.registerIngredient{1, 64 4};

784091427630431250239.png

Regulamin sygnatur

Opublikowano

No okej, masz problem ale jaki?

O ile mnie pamięć nie myli, to skript jest na tyle spoko, że w consoli wszystko Ci napisze co źle zrobiłeś.

 

 

@Edit

 

Tak wróciłem do tematu i obczaiłem to:

"cx".RECIPE.registerIngredient{1, 64 4};

 

 

Nie wiem czy to tak działało, ale chyba też powinno być tak jak reszta czyli: 

"cx".Recipe.registerIngredient{1, 64 4};

Boze matko tez nie dziala a spupowales skrpit 

Opublikowano

Ale co Ci nie działa.

Nie mogę Ci pomóc bez kodu błędy, który Ci się wyświetla w konsoli -.-

Pomijając już fakt, że NAWET nie napisałeś co Ci nie działa.. 

784091427630431250239.png

Regulamin sygnatur

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...