개인 자료란 (JE)

  서버 커뮤니티

Profile il_HyaNg04 대표칭호 없음
Profile

질문하기 플러그인

수표로 구매하는 플러그인을 만들려고 하는데 도와주세요

2020.06.01 조회 수 107 추천 수 0

on right click on entity:

    if entity's name is "시작섬 구매":

        open chest with 6 rows named "&a시작섬 구매" to player

        set slot 10 of current inventory of player to oak log named "&f참나무 원목" with lore "&e60벨"

        set slot 11 of current inventory of player to spruce log named "&f가문비나무 원목" with lore "&e60벨"

        set slot 12 of current inventory of player to birch log named "&f자작나무 원목" with lore "&e60벨"

        set slot 13 of current inventory of player to jungle log named "&f정글나무 원목" with lore "&e60벨"

        set slot 14 of current inventory of player to acacia log named "&f아카시아나무 원목" with lore "&e60벨"

        set slot 15 of current inventory of player to dark oak log named "&f짙은 참나무 원목" with lore "&e60벨"

        set slot 16 of current inventory of player to clay ball named "&f점토" with lore "&e100벨"

        set slot 19 of current inventory of player to cobblestone named "&f돌" with lore "&e75벨"

        set slot 20 of current inventory of player to iron ore named "&f철광석" with lore "&e375벨"

        set slot 21 of current inventory of player to gold ore named "&f금광석" with lore "&e10000벨"

        set slot 22 of current inventory of player to redstone ore named "&f레드스톤 광석" with lore "&e5000벨"

        set slot 23 of current inventory of player to lapis ore named "&f청금석 광석" with lore "&e5000벨"

        set slot 24 of current inventory of player to diamond ore named "&f다이아몬드 원석" with lore "&e12500벨"

        set slot 25 of current inventory of player to emerald ore named "&f에메랄드 원석" with lore "&e15000벨"

        set slot 28 of current inventory of player to stick named "&f나뭇가지" with lore "&e5벨"

        set slot 29 of current inventory of player to bamboo named "&f대나무" with lore "&e80벨"

        set slot 30 of current inventory of player to green dye named "&f잡초" with lore "&e10벨"

        set slot 31 of current inventory of player to apple named "&c사과" with lore "&e100벨"

        set slot 32 of current inventory of player to apple named "&e오렌지" with lore "&e100벨"

        set slot 33 of current inventory of player to apple named "&a배" with lore "&e100벨"

        set slot 34 of current inventory of player to apple named "&d복숭아" with lore "&e100벨"

        set slot 38 of current inventory of player to cod named "&f대구" with lore "&e100벨"

        set slot 39 of current inventory of player to salmon named "&f연어" with lore "&e100벨"

        set slot 40 of current inventory of player to pufferfish named "&f복어" with lore "&e300벨"

        set slot 41 of current inventory of player to tropical fish named "&f열대어" with lore "&e500벨"

        set slot 42 of current inventory of player to beacon named "&f텔레포트 공사권" with lore "&e5000벨"

on inventory click:

    if inventory name of current inventory of player is "&a시작섬 구매":

        if click type is left mouse button or left mouse button with shift or right mouse button with shift:

            cancel event

        else:

            if clicked raw slot is 10:

                if click type is right mouse button:

                    cancel event

                    if player has 1 of paper named "&660벨" with lore " " and "&a너굴 은행":

                        give player 1 oak log

                        remove 1 of paper named "&660벨" with lore " " and "&a너굴 은행" from player's inventory


저렇게 해서 종이를 재작해도 안되게 하려는데 안되서 물어봅니다

2개의 댓글

세티스
2020.06.01

command /지급:

@trigger:

@@give player 1 paper named "&660벨" with lore " " and "&a너굴 은행"

 

DARAMJI
2020.06.01

질문의 의도를 잘 모르겠네요.. 종이를 제작하는 구문이 없는데요?

그리고 아이템 이름까지만 쓰셔도 충분할겁니다.

if player has 1 of paper named "&660벨"

뉴스 및 창작물
/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

/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0