9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-31 04:46:36 +00:00

minor update

This commit is contained in:
XiaoMoMi
2023-09-15 01:50:20 +08:00
parent 9ed926364f
commit 61404cab2d
18 changed files with 714 additions and 68 deletions

View File

@@ -1,70 +1,15 @@
# it's still unavailable for the moment
double_loot_fishing_totem:
# Totem Core Block ID
rotate-check: true
mirror-check: true
core:
- o
radius: 8
# seconds
duration: 300
particle: DRIPPING_OBSIDIAN_TEAR
hologram:
enable: true
text:
- '<#87CEFA>{player}''s Fishing Totem'
- '<white>{time}s <gray>/ <white>{max_time}s'
y-offset: 3.8
# Potion effect type and its amplifier
potion-effects:
NIGHT_VISION: 1
# Fishing bonus
effect:
double-loot: 1
# placeholders: {activator} {player} {world} {x} {y} {z}
action:
#commands-activator: []
messages-activator:
- '<gold>[CustomFishing] You activated a double loot totem!'
#commands-nearby-players: []
messages-nearby-players:
- '<blue>[!] {activator} activated a fishing totem!'
- '<blue>[!] Players inside of the effective range would get fishing buffs!'
# https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customfishing/requirements
requirements:
requirement_1:
type: permission
message: '<red>You don''t have permission to activate this totem!'
value: double_loot_fishing_totem.activate
requirement_2:
type: world
message: '<red>You can only activate this totem in Nether.'
value:
- world_nether
# The layout of the totem
# 图腾的摆放放
# The greater the layer number is, the higher the y position is
# 层数越高则对应的Y坐标也越高
# Totem core can be put anywhere in the layout
# 图腾核心可以位于摆放中的任意位置
# “*” represents any type of block is allowed here [example *]
# “*” 代表这个位置可以用任何方块
# “()“ represents the block is protected and will not be removed when activating [example (a)]
# “()“ 代表图腾激活后此方块会被保护
# “>“ represents the block would turn into another block after activating [example: a>b]
# ">" 代表图腾激活后,左边的方块会变成右边的方块
# “|“ represents alternative block choice for this place [example a|b>c]
# “|“ 代表这个位置可以使用多种替选方块
position: 3,1,2
layer:
4:
- '(p) (o) (p)'
3:
- 'air (c) air'
2:
- 'air (pillar) air'
1:
- 'air (a) air'
- 'AIR ANVIL AIR'
2:
- 'AIR *_LOG{axis:y}||*_PILLAR{axis:y} AIR'
3:
- 'AIR CRYING_OBSIDIAN AIR'
4:
- '*_STAIRS{face:south} OBSERVER{face:west} *_STAIRS{face:north}'