이해도 | 입문자 |
---|---|
게임버전 (JE) | 관련없음 |
게임버전 (BE) | 관련없음 |
on every 1 seconds:
set {광산} to random integer between 1 and 1000
on break:
if event-block is stone or coal ore or copper ore or iron ore or redstone ore or lapis ore or gold ore or diamond ore or emerald ore:
if {광산} is between 1 and 717: #돌 70퍼
execute console command "fill 3 2 7 -1 0 7 stone replace air"
stop
if {광산} is between 718 and 818: # 석탄 10퍼
execute console command "fill 3 2 7 -1 0 7 coal_ore replace air"
stop
if {광산} is between 818 and 888: # 구리 7퍼
execute console command "fill 3 2 7 -1 0 7 copper_ore replace air"
stop
if {광산} is between 889 and 939: # 철 5퍼
execute console command "fill 3 2 7 -1 0 7 iron_ore replace air"
stop
if {광산} is between 940 and 970: # 레드스톤 3퍼
execute console command "fill 3 2 7 -1 0 7 redstone_ore replace air"
stop
if {광산} is between 971 and 986: # 청금석 1.5퍼
execute console command "fill 3 2 7 -1 0 7 lapis_ore replace air"
stop
if {광산} is between 987 and 994: # 금 0.7퍼
execute console command "fill 3 2 7 -1 0 7 gold_ore replace air"
stop
if {광산} is between 995 and 998: # 에메랄드 0.3퍼
execute console command "fill 3 2 7 -1 0 7 emerald_ore replace air"
stop
if {광산} is between 999 and 1000: # 다이아 0.1퍼
execute console command "fill 3 2 7 -1 0 7 diamond_ore replace air"
stop
블럭 한칸이 계속 비네요..
뭐가 문제일까요..?
+ seconds 보다 작은 단위가 있을까요?
댓글이 없습니다.
새로운 댓글을 등록해 주세요!