개인 자료란 (JE)

  서버 커뮤니티

Profile jihoo77 대표칭호 없음
Profile

질문하기 스크립트

스크립트 섬손곡 인식

2024.03.02 조회 수 28 추천 수 0
이해도 중급자 
게임버전 (JE) 관련없음 
게임버전 (BE) 관련없음 
스크립트 버전 2.8.2 
스크립트 애드온 SkBee,GomSK,SkUtilities,worldguard,ShChoke,SkDragon,SkQuery 

<JE버전 : 1.20.2>

on break:

    event-block is iron ore

    chance of {rk.playerattributes::%uuid of player%.fu}%:

        cancel event

        delete event-block

        set {_ritem} to iron ingot

        drop {_ritem} at event-location without velocity

        send "철 광석이 자동 재련되었습니다!" to player

        command "/experience add %player% 0.7 points"


철 광석을 부수면 일정 확률로 철 주괴와 재련 경험치가 들어오게 커맨드를 만들었는데

섬손 곡괭이로 캘때만 이 현상이 일어나지 않게 하는 구문을 모르겠습니다.


해당 스크립트를 개조 중에 있습니다.

https://www.youtube.com/watch?v=tVo2vxImohM

1개의 댓글

슈퍼레몬
2024.03.03
options:
    e_b : event-block
    deep : deepslate
    o : ore
    c : coal
    dbu : drops of block using tool of player
on break:
    if {@e_b} is {@c}_{@o} or {@deep}_{@c}_{@o}:
        if {@dbu} is {@c}:

           이거 개조해서 사용하시면 될듯 합니다.

뉴스 및 창작물
/files/thumbnails/268/789/003/262x150.crop.jpg?20240515192032

레드스톤

벌레먹은 돌 빠르게 제거하는 법

GlassesFilm

2024-05-15

0

/files/thumbnails/797/788/003/262x150.crop.jpg?20240515090924

건축

마인크래프트로 구현한 카르카손 보드게임

Warak

2024-05-15

1

/files/thumbnails/487/784/003/262x150.crop.jpg?20240508233607

모드

Windows Borderless 모드에서 악성코드 발견

학교가기싫다

2024-05-08

1

/files/thumbnails/384/778/003/262x150.crop.jpg?20240512002324

업데이트

마인크래프트 자바 에디션 스냅샷 24w18a

학교가기싫다

2024-05-06

0

/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1