mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
update default configs
This commit is contained in:
@@ -30,8 +30,6 @@ import dev.dejvokep.boostedyaml.settings.loader.LoaderSettings;
|
|||||||
import dev.dejvokep.boostedyaml.settings.updater.UpdaterSettings;
|
import dev.dejvokep.boostedyaml.settings.updater.UpdaterSettings;
|
||||||
import dev.dejvokep.boostedyaml.utils.format.NodeRole;
|
import dev.dejvokep.boostedyaml.utils.format.NodeRole;
|
||||||
import net.momirealms.customfishing.api.BukkitCustomFishingPlugin;
|
import net.momirealms.customfishing.api.BukkitCustomFishingPlugin;
|
||||||
import net.momirealms.customfishing.api.event.FishingEffectApplyEvent;
|
|
||||||
import net.momirealms.customfishing.api.event.FishingResultEvent;
|
|
||||||
import net.momirealms.customfishing.api.mechanic.MechanicType;
|
import net.momirealms.customfishing.api.mechanic.MechanicType;
|
||||||
import net.momirealms.customfishing.api.mechanic.action.Action;
|
import net.momirealms.customfishing.api.mechanic.action.Action;
|
||||||
import net.momirealms.customfishing.api.mechanic.action.ActionManager;
|
import net.momirealms.customfishing.api.mechanic.action.ActionManager;
|
||||||
@@ -969,10 +967,6 @@ public class BukkitConfigManager extends ConfigManager {
|
|||||||
result.add(Pair.of(member, operation));
|
result.add(Pair.of(member, operation));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FishingEffectApplyEvent event;
|
|
||||||
if (event.getStage() == FishingEffectApplyEvent.Stage.FISHING) {
|
|
||||||
event.getEffect().difficultyAdder(event.getEffect().difficultyAdder() + 10d);
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,6 @@
|
|||||||
vanilla:
|
vanilla:
|
||||||
show-in-fishfinder: false
|
show-in-fishfinder: false
|
||||||
disable-stat: true
|
disable-stat: true
|
||||||
group:
|
|
||||||
- river
|
|
||||||
events:
|
events:
|
||||||
success:
|
success:
|
||||||
action_mending:
|
action_mending:
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ global-group:
|
|||||||
'!rod':
|
'!rod':
|
||||||
- magical_rod
|
- magical_rod
|
||||||
list:
|
list:
|
||||||
- rubbish:+15
|
- 'rubbish:+15'
|
||||||
- seagrass:+5
|
- 'seagrass:+5'
|
||||||
- vanilla:+60
|
- 'vanilla:+60'
|
||||||
sub-groups:
|
sub-groups:
|
||||||
ocean_fish:
|
ocean_fish:
|
||||||
conditions:
|
conditions:
|
||||||
@@ -29,13 +29,13 @@ global-group:
|
|||||||
- minecraft:warm_ocean
|
- minecraft:warm_ocean
|
||||||
list:
|
list:
|
||||||
# decrease the chance of getting rubbish when fishing in ocean
|
# decrease the chance of getting rubbish when fishing in ocean
|
||||||
- rubbish:-10
|
- 'rubbish:-10'
|
||||||
- apple_crate:+2
|
- 'apple_crate:+2'
|
||||||
- carrot_crate:+2
|
- 'carrot_crate:+2'
|
||||||
- kelp:+25
|
- 'kelp:+25'
|
||||||
- group_for_each:ocean&no_star:+15
|
- 'group_for_each:ocean&no_star:+15'
|
||||||
- group_for_each:ocean&silver_star:+3
|
- 'group_for_each:ocean&silver_star:+3'
|
||||||
- group_for_each:ocean&golden_star:+1
|
- 'group_for_each:ocean&golden_star:+1'
|
||||||
sub-groups:
|
sub-groups:
|
||||||
warm_ocean_fish:
|
warm_ocean_fish:
|
||||||
conditions:
|
conditions:
|
||||||
@@ -44,9 +44,9 @@ global-group:
|
|||||||
- minecraft:deep_lukewarm_ocean
|
- minecraft:deep_lukewarm_ocean
|
||||||
- minecraft:warm_ocean
|
- minecraft:warm_ocean
|
||||||
list:
|
list:
|
||||||
- group_for_each:warm_ocean&no_star:+15
|
- 'group_for_each:warm_ocean&no_star:+15'
|
||||||
- group_for_each:warm_ocean&silver_star:+3
|
- 'group_for_each:warm_ocean&silver_star:+3'
|
||||||
- group_for_each:warm_ocean&golden_star:+1
|
- 'group_for_each:warm_ocean&golden_star:+1'
|
||||||
river_fish:
|
river_fish:
|
||||||
conditions:
|
conditions:
|
||||||
'!biome':
|
'!biome':
|
||||||
@@ -60,17 +60,17 @@ global-group:
|
|||||||
- minecraft:deep_lukewarm_ocean
|
- minecraft:deep_lukewarm_ocean
|
||||||
- minecraft:warm_ocean
|
- minecraft:warm_ocean
|
||||||
list:
|
list:
|
||||||
- rainbow_fish:+5
|
- 'rainbow_fish:+5'
|
||||||
- stick:+15
|
- 'stick:+15'
|
||||||
- group_for_each:river&no_star:+15
|
- 'group_for_each:river&no_star:+15'
|
||||||
- group_for_each:river&silver_star:+3
|
- 'group_for_each:river&silver_star:+3'
|
||||||
- group_for_each:river&golden_star:+1
|
- 'group_for_each:river&golden_star:+1'
|
||||||
sub-groups:
|
sub-groups:
|
||||||
swamp_fish:
|
swamp_fish:
|
||||||
list:
|
list:
|
||||||
- group_for_each:swamp&no_star:+15
|
- 'group_for_each:swamp&no_star:+15'
|
||||||
- group_for_each:swamp&silver_star:+3
|
- 'group_for_each:swamp&silver_star:+3'
|
||||||
- group_for_each:swamp&golden_star:+1
|
- 'group_for_each:swamp&golden_star:+1'
|
||||||
conditions:
|
conditions:
|
||||||
biome:
|
biome:
|
||||||
- minecraft:swamp
|
- minecraft:swamp
|
||||||
@@ -80,9 +80,9 @@ global-group:
|
|||||||
ypos:
|
ypos:
|
||||||
- -64~0
|
- -64~0
|
||||||
list:
|
list:
|
||||||
- group_for_each:cave&no_star:+9
|
- 'group_for_each:cave&no_star:+9'
|
||||||
- group_for_each:cave&silver_star:+3
|
- 'group_for_each:cave&silver_star:+3'
|
||||||
- group_for_each:cave&golden_star:+1
|
- 'group_for_each:cave&golden_star:+1'
|
||||||
# Skeletons might appear if player holds the bone_rod and fish at night
|
# Skeletons might appear if player holds the bone_rod and fish at night
|
||||||
skeleton_group:
|
skeleton_group:
|
||||||
conditions:
|
conditions:
|
||||||
@@ -118,9 +118,9 @@ global-group:
|
|||||||
- 'gold_ingot:+3'
|
- 'gold_ingot:+3'
|
||||||
- 'gold_nugget:+8'
|
- 'gold_nugget:+8'
|
||||||
- 'magma_cube:+3'
|
- 'magma_cube:+3'
|
||||||
- group_for_each:lava&no_star:+15
|
- 'group_for_each:lava&no_star:+15'
|
||||||
- group_for_each:lava&silver_star:+3
|
- 'group_for_each:lava&silver_star:+3'
|
||||||
- group_for_each:lava&golden_star:+1
|
- 'group_for_each:lava&golden_star:+1'
|
||||||
sub-groups:
|
sub-groups:
|
||||||
skeleton_group:
|
skeleton_group:
|
||||||
conditions:
|
conditions:
|
||||||
|
|||||||
Reference in New Issue
Block a user