9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-31 21:06:47 +00:00
This commit is contained in:
Xiao-MoMi
2023-01-20 02:47:29 +08:00
parent c1002a6142
commit df8aba720a
20 changed files with 188 additions and 48 deletions

View File

@@ -7,6 +7,15 @@ example:
# RANDOM
goal: CATCH_AMOUNT
#Optional
#start-weekday:
# - monday
# - sunday
#Optional
#start-date:
# - 1
# - 7
# - 14
# optional
# Fishing competition can also be started with a command
start-time:

View File

@@ -54,9 +54,14 @@ rainbow_fish:
namespace: '(String) momirealms'
id: '(String) rainbow_fish'
# Available events: success/failure/hook
# Available actions: message/command/exp/mending/skill-xp/sound
# Available events: eat/success/failure/hook
# Available actions: message/command/exp/mending/skill-xp/sound/potion-effect
action:
eat:
potion-effect:
type: blindness
level: 1
duration: 200
success:
message:
- 'You got a {loot} lol'
@@ -180,8 +185,9 @@ rainbow_fish:
'&&':
condition_1:
type: '>='
# compare two placeholders
papi: '%player_health%'
value: 5
value: '%player_y%'
condition_2:
type: '<'
papi: '%player_health%'