Facebook
From JCON, 4 Years ago, written in Plain Text.
This paste is a reply to enchantment from JCON - view diff
Embed
Download Paste or View Raw
Hits: 227
  1. command /인챈트테이블:
  2.         trigger:
  3.                 give 1 of enchantment table with name "&3휴대용 인챈트테이블" with lore "&f주변에 책장을 설치할 공간이 있다면" and "&f1칸 높이의 책장이 자동으로 설치됩니다" to player
  4. on place:
  5.         if name of player's tool is "&3휴대용 인챈트테이블":
  6.                 set {인챈.%event-block's location%} to true
  7.                 if block 2 north 1 east of event-block is air:
  8.                         if block 2 north 1 west of event-block is air:
  9.                                 if block 2 south 1 east of event-block is air:
  10.                                         if block 2 south 1 west of event-block is air:
  11.                                                 if block 2 west 1 north of event-block is air:
  12.                                                         if block 2 west 1 south of event-block is air:
  13.                                                                 if block 2 east 1 north of event-block is air:
  14.                                                                         if block 2 east 1 south of event-block is air:
  15.                                                                                 if block 2 north of event-block is air:
  16.                                                                                         if block 2 south of event-block is air:
  17.                                                                                                 if block 2 east of event-block is air:
  18.                                                                                                         if block 2 west of event-block is air:
  19.                                                                                                                 set block 2 west 1 north to book shelf
  20.                                                                                                                 set block 2 east 1 north to book shelf
  21.                                                                                                                 set block 2 north 1 east to book shelf
  22.                                                                                                                 set block 2 south 1 east to book shelf
  23.                                                                                                                 set block 2 north to book shelf
  24.                                                                                                                 set block 2 south to book shelf
  25.                                                                                                                 set block 2 west to book shelf 
  26.                                                                                                                 set block 2 east to book shelf
  27.                                                                                                                 set block 2 east 1 south to book shelf
  28.                                                                                                                 set block 2 west 1 south to book shelf
  29.                                                                                                                 set block 2 north 1 west to book shelf
  30.                                                                                                                 set block 2 south 1 west to book shelf                                                                                                 
  31. on break:
  32.         if {인챈.%event-block's location%} is true:
  33.                 give 1 of enchantment table with name "&3휴대용 인챈트테이블" with lore "&f주변에 책장을 설치할 공간이 있다면" and "&f1칸 높이의 책장이 자동으로 설치됩니다" to player