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

events and actions

This commit is contained in:
XiaoMoMi
2023-09-09 03:29:37 +08:00
parent f56169c56e
commit 7f9cc4f2c0
31 changed files with 713 additions and 307 deletions

View File

@@ -21,14 +21,10 @@ mechanics:
value:
- blacklist_world
# Global loot properties
global-loot-properties:
show-in-fishfinder: true
disable-stat: false
disable-game: false
instant-game: false
prevent-grabbing: false
events:
# global event settings
global-events:
bait: {}
loot:
success:
title_action:
type: random-title
@@ -60,7 +56,37 @@ mechanics:
stay: 30
fade-out: 10
chance: 1.0
rod:
land:
priority_action:
type: priority
value:
priority_1:
conditions:
in-lava: true
actions:
fake_item_action:
type: fake-item
value:
duration: 35
position: hook
item: util:lava_effect
y: 0
x: 0
z: 0
priority_2:
conditions:
in-lava: false
actions:
fake_item_action:
type: fake-item
value:
duration: 35
position: hook
item: util:water_effect
y: 0
x: 0
z: 0
# Fishing bag is where players can store their baits, utils and rods (Fish optional)
fishing-bag:
# Enable
@@ -79,16 +105,6 @@ mechanics:
min-wait-time: 100
max-wait-time: 600
# Animation settings
animation:
splash:
enable: true
water: water_effect
lava: lava_effect
duration: 25
bait:
enable: true
# Competition settings
competition:
# Use redis for cross server data synchronization

View File

@@ -11,7 +11,7 @@ rubbish:
disable-game: true
instant-game: false
prevent-grabbing: false
action:
events:
success:
mending:
type: mending
@@ -27,7 +27,7 @@ tuna_fish:
- <gray>Tuna is a kind of healthy food.
- '<white>size: {size}cm'
custom-model-data: 50001
action:
events:
success:
action_mending:
type: mending
@@ -47,7 +47,7 @@ tuna_fish_silver_star:
- <gray>Tuna is a kind of healthy food.
- '<white>size: {size}cm'
custom-model-data: 50002
action:
events:
success:
action_mending:
type: mending
@@ -67,7 +67,7 @@ tuna_fish_golden_star:
- <gray>Tuna is a kind of healthy food.
- '<white>size: {size}cm'
custom-model-data: 50003
action:
events:
success:
action_mending:
type: mending
@@ -90,7 +90,7 @@ pike_fish:
- <gray>water and inland freshwater lakes
- '<white>size: {size}cm'
custom-model-data: 50004
action:
events:
success:
action_mending:
type: mending
@@ -113,7 +113,7 @@ pike_fish_silver_star:
- <gray>water and inland freshwater lakes
- '<white>size: {size}cm'
custom-model-data: 50005
action:
events:
success:
action_mending:
type: mending
@@ -136,7 +136,7 @@ pike_fish_golden_star:
- <gray>water and inland freshwater lakes
- '<white>size: {size}cm'
custom-model-data: 50006
action:
events:
success:
action_mending:
type: mending
@@ -158,7 +158,7 @@ gold_fish:
price:
base: 70
custom-model-data: 50007
action:
events:
success:
action_mending:
type: mending
@@ -177,7 +177,7 @@ gold_fish_silver_star:
price:
base: 80
custom-model-data: 50008
action:
events:
success:
action_mending:
type: mending
@@ -196,7 +196,7 @@ gold_fish_golden_star:
price:
base: 100
custom-model-data: 50009
action:
events:
success:
action_mending:
type: mending
@@ -212,7 +212,7 @@ perch_fish:
- <gray>foraging at dusk and early morning
- '<white>size: {size}cm'
custom-model-data: 50010
action:
events:
success:
action_mending:
type: mending
@@ -233,7 +233,7 @@ perch_fish_silver_star:
- <gray>foraging at dusk and early morning
- '<white>size: {size}cm'
custom-model-data: 50011
action:
events:
success:
action_mending:
type: mending
@@ -254,7 +254,7 @@ perch_fish_golden_star:
- <gray>foraging at dusk and early morning
- '<white>size: {size}cm'
custom-model-data: 50012
action:
events:
success:
action_mending:
type: mending
@@ -275,7 +275,7 @@ mullet_fish:
- <gray>to treat spleen and stomach weakness
- '<white>size: {size}cm'
custom-model-data: 50013
action:
events:
success:
action_mending:
type: mending
@@ -296,7 +296,7 @@ mullet_fish_silver_star:
- <gray>to treat spleen and stomach weakness
- '<white>size: {size}cm'
custom-model-data: 50014
action:
events:
success:
action_mending:
type: mending
@@ -317,7 +317,7 @@ mullet_fish_golden_star:
- <gray>to treat spleen and stomach weakness
- '<white>size: {size}cm'
custom-model-data: 50015
action:
events:
success:
action_mending:
type: mending
@@ -338,7 +338,7 @@ sardine_fish:
- <gray>Therefore, sardine are also called "smart food"
- '<white>size: {size}cm'
custom-model-data: 50016
action:
events:
success:
action_mending:
type: mending
@@ -358,7 +358,7 @@ sardine_fish_silver_star:
- <gray>Therefore, sardine are also called "smart food"
- '<white>size: {size}cm'
custom-model-data: 50017
action:
events:
success:
action_mending:
type: mending
@@ -378,7 +378,7 @@ sardine_fish_golden_star:
- <gray>Therefore, sardine are also called "smart food"
- '<white>size: {size}cm'
custom-model-data: 50018
action:
events:
success:
action_mending:
type: mending
@@ -398,7 +398,7 @@ carp_fish:
- <gray>One of the most common edible fish
- '<white>size: {size}cm'
custom-model-data: 50019
action:
events:
success:
action_mending:
type: mending
@@ -417,7 +417,7 @@ carp_fish_silver_star:
- <gray>One of the most common edible fish
- '<white>size: {size}cm'
custom-model-data: 50020
action:
events:
success:
action_mending:
type: mending
@@ -436,7 +436,7 @@ carp_fish_golden_star:
- <gray>One of the most common edible fish
- '<white>size: {size}cm'
custom-model-data: 50021
action:
events:
success:
action_mending:
type: mending
@@ -456,7 +456,7 @@ cat_fish:
- <gray>sharp jaw teeth, short intestine and stomach
- '<white>size: {size}cm'
custom-model-data: 50022
action:
events:
success:
action_mending:
type: mending
@@ -476,7 +476,7 @@ cat_fish_silver_star:
- <gray>sharp jaw teeth, short intestine and stomach
- '<white>size: {size}cm'
custom-model-data: 50023
action:
events:
success:
action_mending:
type: mending
@@ -496,7 +496,7 @@ cat_fish_golden_star:
- <gray>sharp jaw teeth, short intestine and stomach
- '<white>size: {size}cm'
custom-model-data: 50024
action:
events:
success:
action_mending:
type: mending
@@ -517,7 +517,7 @@ octopus:
- <gray>People often use pots to catch octopus
- '<white>size: {size}cm'
custom-model-data: 50025
action:
events:
success:
action_mending:
type: mending
@@ -537,7 +537,7 @@ octopus_silver_star:
- <gray>People often use pots to catch octopus
- '<white>size: {size}cm'
custom-model-data: 50026
action:
events:
success:
action_mending:
type: mending
@@ -557,7 +557,7 @@ octopus_golden_star:
- <gray>People often use pots to catch octopus
- '<white>size: {size}cm'
custom-model-data: 50027
action:
events:
success:
action_mending:
type: mending
@@ -577,7 +577,7 @@ sunfish:
- <gray>It only has one huge head
- '<white>size: {size}cm'
custom-model-data: 50028
action:
events:
success:
action_mending:
type: mending
@@ -596,7 +596,7 @@ sunfish_silver_star:
- <gray>It only has one huge head
- '<white>size: {size}cm'
custom-model-data: 50029
action:
events:
success:
action_mending:
type: mending
@@ -615,7 +615,7 @@ sunfish_golden_star:
- <gray>It only has one huge head
- '<white>size: {size}cm'
custom-model-data: 50030
action:
events:
success:
action_mending:
type: mending
@@ -635,7 +635,7 @@ red_snapper_fish:
- <gray>with a male as the "head of the family"
- '<white>size: {size}cm'
custom-model-data: 50031
action:
events:
success:
action_mending:
type: mending
@@ -656,7 +656,7 @@ red_snapper_fish_silver_star:
- <gray>with a male as the "head of the family"
- '<white>size: {size}cm'
custom-model-data: 50032
action:
events:
success:
action_mending:
type: mending
@@ -677,7 +677,7 @@ red_snapper_fish_golden_star:
- <gray>with a male as the "head of the family"
- '<white>size: {size}cm'
custom-model-data: 50033
action:
events:
success:
action_mending:
type: mending
@@ -697,7 +697,7 @@ salmon_void_fish:
lore:
- <gray>A fish from the hell
custom-model-data: 50034
action:
events:
success:
action_mending:
type: mending
@@ -714,7 +714,7 @@ salmon_void_fish_silver_star:
lore:
- <gray>A fish from the hell
custom-model-data: 50035
action:
events:
success:
action_mending:
type: mending
@@ -732,7 +732,7 @@ salmon_void_fish_golden_star:
- <gray>A fish from the hell
group: gold
custom-model-data: 50036
action:
events:
success:
action_mending:
type: mending
@@ -751,7 +751,7 @@ woodskip_fish:
- <gray>live in pools deep in the forest
- '<white>size: {size}cm'
custom-model-data: 50037
action:
events:
success:
action_mending:
type: mending
@@ -771,7 +771,7 @@ woodskip_fish_silver_star:
- <gray>live in pools deep in the forest
- '<white>size: {size}cm'
custom-model-data: 50038
action:
events:
success:
action_mending:
type: mending
@@ -791,7 +791,7 @@ woodskip_fish_golden_star:
- <gray>live in pools deep in the forest
- '<white>size: {size}cm'
custom-model-data: 50039
action:
events:
success:
action_mending:
type: mending
@@ -812,7 +812,7 @@ sturgeon_fish:
- <gray>population. Females can live up to 150 years
- '<white>size: {size}cm'
custom-model-data: 50040
action:
events:
success:
action_mending:
type: mending
@@ -832,7 +832,7 @@ sturgeon_fish_silver_star:
- <gray>population. Females can live up to 150 years
- '<white>size: {size}cm'
custom-model-data: 50041
action:
events:
success:
action_mending:
type: mending
@@ -852,7 +852,7 @@ sturgeon_fish_golden_star:
- <gray>population. Females can live up to 150 years
- '<white>size: {size}cm'
custom-model-data: 50042
action:
events:
success:
action_mending:
type: mending

View File

@@ -5,7 +5,7 @@
######################################
rainbow_1:
game-type: accurate_click
title: '<#B22222>RED!'
title: '<#fd4036>RED!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -24,7 +24,7 @@ rainbow_1:
7: 0
rainbow_2:
game-type: accurate_click
title: '<#FFA500>ORANGE!'
title: '<#ffa449>ORANGE!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -43,7 +43,7 @@ rainbow_2:
7: 0
rainbow_3:
game-type: accurate_click
title: '<#FFFF00>YELLOW!'
title: '<#ffca4c>YELLOW!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -62,7 +62,7 @@ rainbow_3:
7: 0
rainbow_4:
game-type: accurate_click
title: '<GREEN>GREEN!'
title: '<#34f250>GREEN!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -81,7 +81,7 @@ rainbow_4:
7: 0
rainbow_5:
game-type: accurate_click
title: '<#00FFFF>AQUA!'
title: '<#34f2d5>AQUA!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -100,7 +100,7 @@ rainbow_5:
7: 0
rainbow_6:
game-type: accurate_click
title: '<#1E90FF>BLUE!'
title: '<#34f2d5>BLUE!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -119,7 +119,7 @@ rainbow_6:
7: 0
rainbow_7:
game-type: accurate_click
title: '<#9400D3>PURPLE!'
title: '<#c96cff>PURPLE!'
subtitle:
font: 'customfishing:default'
bar: '뀋'
@@ -583,10 +583,4 @@ tension_game:
- '<font:customfishing:icons>뀖</font>'
- '<font:customfishing:icons>뀗</font>'
- '<font:customfishing:icons>뀘</font>'
- '<font:customfishing:icons>뀙</font>'
######################################
# Burst #
# When the fish is hooked, you need #
# to click quickly in limited time #
######################################
- '<font:customfishing:icons>뀙</font>'

View File

@@ -1,3 +1,9 @@
# Vanilla fishing rod properties
FISHING_ROD:
tag: false
material: fishing_rod
# Custom rods
wooden_rod:
material: fishing_rod
display: