Skocz do zawartości

RaZer

Użytkownik
  • Ilość zawartości

    30
  • Rejestracja

  • Ostatnia wizyta

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

Osiągnięcia RaZer

Początkujący II

Początkujący II (3/13)

1

Reputacja

  1. @Shateq ja już coś tam robiłem w javie ale właśnie w eclipse ja intelij w ogóle nie ogarniam bo to czarna magia dla mnie
  2. Witam... Problem polega na tym, że w trakcie tworzenia projektu Java oraz dodaniu biblioteki paper spigot nie otrzymuję żadnych metod. Mało tego nie mogę nawet zrobić importu dla "public class Main extends JavaPlugin{" próbowałem to jakoś ogarnąć w bibliotekach na zasadzie kolejności ale też nie działa jak mogę to naprawić, żeby mogło odczytywać wszystko z api paper spigot?
  3. Wszystko działa dziękuję do zamknięcia :D!! @knugi dziękuję Ci pięknie
  4. @knugi zrobię tym pierwszym przykładem ale załóżmy jeszcze, gracz nie ma fortuny na kilofie to jak to ma być? if level of fortune of the player's tool is 0: w ten sposób? jeśli tak to mi to nie działa ale na fortunę 1,2 i 3 tak
  5. @knugi no ale to nie będzie tak, że będzie loopować za każdym razem jak gracz sobie wykopie stone? //Edit {_enchants::*} can't be set to 'all enchants of player's tool' because the latter is not an object (drop.sk, line 259: set {_enchants::*} to all enchants of player's tool')
  6. @knugi To od /ver This server is running Paper version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) Error obtaining version information To od /ver sk Skript version 2.5.3 Customize Minecraft's mechanics with simple scripts written in plain English sentences. Website: https://skriptlang.github.io/Skript Authors: Njol, Mirreski, bensku, TheBentoBox, FranKusmiruk, ShaneBeee, Blueyescat, JRoy, Nicofisi, APickledWalrus, xXAndrew28Xx, Syst3ms, TheLimeGlass, Pikachu920, Sashie, Wealthyturtle, OfficialDonut and eyesniper2 SkQuery version 4.1.4 Authors: LimeGlass and w00tmast3r TuSKe version 1.8.2-Pikachu-Patch-3 A Skript Addon which has some managers, such as custom enchantments, recipes and GUI inventory, and some general stuffs. Author: Tuke_Nuke
  7. @knugi zrobiłeś identycznie jak ja teraz i zwraca mi tylko ok 1 do każdej fortuny do 1 do 2 i do 3 ...
  8. @knugi to co widzisz było sklejane na szybko ogólnie działa wszystko poza tym wykrywaniem fortune taby są zrobione dobrze w moim kodzie bo nie sypie nic. if player is holding any pickaxe of fortune 1: send "ok fortune 1" else: if player is holding any pickaxe of fortune 2: send "ok 2" else: if player is holding any pickaxe of fortune 3: send "ok 3" else: if player is not holding any pickaxe of fortune: //Edit to co jest teraz wyżej to są moje debugi które nie działają oczywiście jest sobie on mine of stone wyżej //Edit2 To na przykład zwraca mi tylko send "fortune 1" on mine of stone: if {turbodrop::status::%player%} is "&4NIE": if player has permission "vip.drop": if player is holding any pickaxe: if player's held item is enchanted with fortune 1: send "ok fortune 1" else: if player's held item is enchanted with fortune 2: send "ok 2" else: if player's held item is enchanted with fortune 3: send "ok 3" else: if player's held item is not enchanted with fortune:
  9. @knugi czyli co muszę dokładnie zmienić? Bo zrobiłem na razie to... if player's tool is not enchanted with fortune:
  10. Tak jak w temacie... Mam sobie if player's tool is enchanted with fortune 3: i tak po kolei 1,2,3 i nie wykrywa mi w ogóle tego enchantu co robię źle? on mine of stone: if {turbodrop::status::%player%} is "&4NIE": if player has permission "vip.drop": if player is holding any pickaxe: if player's tool is not enchanted with fortune 1 or fortune 2 or fortune 3: #Diament chance of 0.3%: if {diamond::status::%player%} is "&aTAK": if player have enough space for 1 of diamond: give 1 of diamond to player if {messages::status::%player%} is "&aTAK": send "Otrzymales 1 diament bez fortuny" to player stop else: stop else: drop 1 of diamond at event-block if {messages::status::%player%} is "&aTAK": send "Otrzymales 1 diament bez fortuny" to player stop else: stop else: if player's tool is enchanted with fortune 1: #Diament chance of 0.4%: if {diamond::status::%player%} is "&aTAK": set {_i} to random integer between 1 and 2 if player have enough space for {_i} of diamond: give {_i} of diamond to player if {messages::status::%player%} is "&aTAK": send "Otrzymales %{_i}% diament fortune 1" to player stop else: stop else: drop {_i} of diamond at event-block if {messages::status::%player%} is "&aTAK": send "Otrzymales %{_i}% diament fortune 1" to player stop else: stop else: if player's tool is enchanted with fortune 2: #Diament chance of 0.5%: if {diamond::status::%player%} is "&aTAK": set {_i} to random integer between 1 and 2 if player have enough space for {_i} of diamond: give {_i} of diamond to player if {messages::status::%player%} is "&aTAK": send "Otrzymales %{_i}% diament fortune 2" to player stop else: stop else: drop {_i} of diamond at event-block if {messages::status::%player%} is "&aTAK": send "Otrzymales %{_i}% diament fortune 2" to player stop else: stop else: if player's tool is enchanted with fortune 3: #Diament chance of 0.6%: if {diamond::status::%player%} is "&aTAK": set {_i} to random integer between 1 and 2 if player have enough space for {_i} of diamond: give {_i} of diamond to player if {messages::status::%player%} is "&aTAK": send "Otrzymales %{_i}% diament fortune 3" to player stop else: stop else: drop {_i} of diamond at event-block if {messages::status::%player%} is "&aTAK": send "Otrzymales %{_i}% diament fortune 3" to player stop else: stop co tu jest nie tak, że tego nie wykrywa??
  11. RaZer

    Woda

    A ten region cuboid to jest z jakiegoś konkretnego pluginu czy to jest world guard?
  12. zrób sobie zmienną lokalną typu {_count} set {_count} to {case.damage.%player%} / {case.defense.%victim%} i dopiero potem remove {_count} from {_ph} gdzie {_ph} to jest {case.health.%victim%} w postaci set {_ph} to {case.health.%victim%} powinno raczej zadziałać
  13. @Kormicplanuje to zrobić na zasadzie slotów, skoro w każdym slocie jest dana listerka to chcę tylko pobierać slot do variable tylko jak to mogę zrobić?
  14. @Kormic chcę to zrobić na zasadzie pobieranego klikniętego slotu tylko jak mogę pobrać number of clicked slot do jakiegoś variable? typu {_slot}??
  15. @Kormic rozumiem jasne ale ty chyba nie załapałeś o co mi chodzi https://prnt.sc/10bmmpq tu masz dokładnie o co mi chodzi to ma być jedna jedyna literka która można będzie pokolorowac coś w stylu jakbyś używał komendy /nick &fRa&4Z&fer
×
×
  • Dodaj nową pozycję...