pattern:
core: 4,2,2 # 层:4 行:2 索引:2 -> DAYLIGHT_DETECTOR
layer:
1:
- 'AIR GOLD_BLOCK AIR'
- 'GOLD_BLOCK GOLD_BLOCK GOLD_BLOCK'
- 'AIR GOLD_BLOCK AIR'
2:
- 'AIR AIR AIR'
- 'AIR GOLD_BLOCK AIR'
- 'AIR AIR AIR'
3:
- 'AIR AIR AIR'
- 'AIR LIGHTNING_ROD AIR'
- 'AIR AIR AIR'
4:
- 'AIR AIR AIR'
- 'AIR DAYLIGHT_DETECTOR AIR'
- 'AIR AIR AIR'
pattern:
core: 3,1,2
layer:
4:
- '*_STAIRS{face=east} OBSERVER{face=south} *_STAIRS{face=west}'
3:
- 'AIR CRYING_OBSIDIAN AIR'
2:
- 'AIR *_LOG{axis=y}||*_PILLAR{axis=y} AIR'
1:
- 'AIR ANVIL AIR'
指定图腾模式中的核心块。数字依次对应层、行、索引。在这种情况下,核心块位于第3层、第1行、第2个索引位置。在下面的层部分引用时,此核心指向 CRYING_OBSIDIAN 块。
*_XXX: 任何以 XXX 结尾的方块 ID
XXX_*: 任何以 XXX 开头的方块 ID
XXX: 原版方块 ID(大写字母)
xxx: 自定义方块 ID (ItemsAdder/Oraxen)
totem_key:
duration: 300 <- 单位:秒
radius: 10 <- 有效范围
particles:
...
pattern:
...
effects:
...
requirements:
...
events:
activate:
...
# REDSTONE
options:
color: 186,85,211
scale: 0.8 (0.1~4)
# DUST_COLOR_TRANSITION
options:
from: 255,255,255
to: 0,0,0
scale: 0.8
particles:
particle_0:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '{radius}'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 0~360
task:
period: 4
delay: 0
particle_1:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '{radius}/(2*cos({theta}))'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 0~60
- 120~180
task:
period: 4
delay: 0
particle_2:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '-{radius}/(2*cos({theta}))'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 0~60
- 120~180
task:
period: 4
delay: 0
particle_3:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '({radius})/(cos({theta}) + sqrt(3) * sin({theta}))'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 0~120
task:
period: 4
delay: 0
particle_4:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '-({radius})/(cos({theta}) + sqrt(3) * sin({theta}))'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 0~120
task:
period: 4
delay: 0
particle_5:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '-({radius})/(cos({theta}) - sqrt(3) * sin({theta}))'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 60~180
task:
period: 4
delay: 0
particle_6:
type: REDSTONE
options:
color: 178,34,34
scale: 1
polar-coordinates-formula:
horizontal: '({radius})/(cos({theta}) - sqrt(3) * sin({theta}))'
vertical: '-1.5'
theta:
draw-interval: 0.2
range:
- 60~180
task:
period: 4
delay: 0