리에셈
대표칭호 없음
leeeesm 0ef58c71fa304ffd9d04dc7e637af81b
이해도 | 초보자 |
---|---|
게임버전 (JE) | 관련없음 |
게임버전 (BE) | 관련없음 |
지금 커맨드블록으로 버튼 누르면 랜덤 인챈트북을 얻을 수 있게 만드려고 하는데 버튼을 누르면 아무 효과가 없는 인챈트북이 들어옵니다ㅠㅠ
혹시 인챈트북중에 랜덤으로 하나가 들어오도록 만들려면 give @s enchanted_book 뒤에 어떻게 적어야 할까요?ㅠㅠ
와인병따개
2024.06.06아래 명령어를 이용해 인챈트 된 책을 부여 받을 수 있습니다. (길이가 길어서 무조건 명령 블록에 넣으신 후, 실행해 주세요)
loot give @p loot {"pools":[{"rolls":1,"entries":[{"type":"minecraft:item","name":"minecraft:enchanted_book","functions":[{"function":"minecraft:enchant_randomly","enchantments":["minecraft:bane_of_arthropods","minecraft:binding_curse","minecraft:blast_protection","minecraft:breach","minecraft:channeling","minecraft:density","minecraft:depth_strider","minecraft:efficiency","minecraft:feather_falling","minecraft:fire_aspect","minecraft:fire_protection","minecraft:flame","minecraft:fortune","minecraft:frost_walker","minecraft:aqua_affinity","minecraft:sharpness","minecraft:impaling","minecraft:knockback","minecraft:infinity","minecraft:looting","minecraft:loyalty","minecraft:luck_of_the_sea","minecraft:lure","minecraft:mending","minecraft:multishot","minecraft:piercing","minecraft:power","minecraft:projectile_protection","minecraft:protection","minecraft:punch","minecraft:quick_charge","minecraft:respiration","minecraft:riptide","minecraft:silk_touch","minecraft:smite","minecraft:soul_speed","minecraft:sweeping_edge","minecraft:swift_sneak","minecraft:thorns","minecraft:unbreaking","minecraft:vanishing_curse"]}]}]}]}