Skocz do zawartości

TheSomcioo

Użytkownik
  • Zawartość

    3
  • Rejestracja

  • Ostatnia wizyta

  1. Stworzylem skrypt na generator drewna i kamienia i chcialem go zmienic tak aby generowal swierkowe drewno Problem polega na tym ze skrypt nie chce wykozystac swierkowego drewna do craftingu. Tak samo jest w przypadku granitu, andezytu itp. Prosze o pomoc options: item: note block block: spruce log name: &bSpawner swierku msg1: &aPostawiles spawner swierku msg2: &cZniszczyles spawner swierku msg3: &4Nad generatorem musi byc 1 wolny blok lub blok ktory generuje on script load: register new shapeless recipe for {@item} named "{@name}" using air, air, air, air, air, air, emerald, {@block}, note block on place of {@item}: if name of the player's tool is "{@name}": if block above event-block is not air or {@block}: set event-block to air drop 1 {@item} named "{@name}" send "{@msg3}" wait 1 second if block above event-block is air or {@block}: send "{@msg1}" add location of event-block to {{@block}::*} set block above event-block to {@block} stop on break of {@block}: loop {stone2::*}: if location of event-block is loop-value: wait 1 second if block below event-block is not {@item}: stop wait 1 second if block below event-block is not {@item}: stop set event-block to {@block} on break of {@item}: loop {{@block}::*}: if location of event-block is loop-value: remove location of event-block from {{@block}::*} cancel event set event-block to air set block above event-block to air drop 1 {@item} named "{@name}" send "{@msg2}"
  2. TheSomcioo

    Problem z niszczeniem stoniarki

    Problem rozwiazany Wystarczylo dodac po tabie przy 4 ostatnich linijkach tak zeby byly pod ifem
  3. Probuje zrobic skrypt na stoniarke tak zeby moc pozniej dodac stoniarki innych blokow np obsydianu Wszystko dobrze dziala ale gdy chce sie ja zniszczyc to robi to ~20 razy i dzieje sie to nawet przy zwyklym noteblocku Prosze o pomoc w naprawie i z gory dziekuje options: item: note block block: stone name: &bStoniarka msg1: &aPostawiles stoniarke msg2: &cZniszczyles stoniarke msg3: &4Nad stoniarka musi byc 1 wolny blok lub blok ktory generuje on script load: register new shapeless recipe for {@item} named "{@name}" using air, air, air, air, air, air, emerald, stone, note block on place of {@item}: if name of the player's tool is "{@name}": send "{@msg1}" add location of event-block to {stone::*} if block above event-block is not air or stone: set event-block to air drop 1 {@item} named "{@name}" send "{@msg3}" wait 1 second if block above event-block is air or stone: set block above event-block to {@block} stop on break of {@block}: loop {stone2::*}: if location of event-block is loop-value: wait 1 second if block below event-block is not {@item}: stop wait 1 second if block below event-block is not {@item}: stop set event-block to {@block} on break of {@item}: loop {stone::*}: if location of event-block is loop-value: remove location of event-block from {stone::*} cancel event set event-block to air drop 1 {@item} named "{@name}" send "{@msg2}"
×