介绍

Makes it possible to get Buckets of Fish via a different way; by fishing with a water bucket in your off-hand!
This mod also automatically supports modded fish, as long as they follow the minecraft naming style.
The mod uses dynamically written recipes and is compatible with JEI if you want to see what things you can fishing-craft!

Technical Notes for Modders
Your fish should be handled automatically as long as you follow the minecraft naming style ( “[modid]:[fish]“, “[modid]:[fish]_bucket” ), I also included a “[modid]:raw_[fish]” as a fallback in case you are still using old naming.
However there might be cases where you would not want something to be auto-gen’d for your item. Fish recipes won’t be created if the following data path already exists in any directory “data.tactical_fishing.recipes.inbuilt.fishing_[modid]_[fish]_bucket.json“.
Your rods should also be handled automatically as long as they extend “net.minecraft.item.FishingRodItem“, and it should work as long as your fishing hook projectile uses the “net.minecraftforge.event.entity.player.ItemFishedEvent” Forge Event.
However if your rod is a custom item for whichever reason you can include it in the “tactical_fishing:fishing_rods” item tag.
If you wish to create new fishing recipes for your mod here is the syntax:
{
"type": "tactical_fishing:fishing",
"group": "", //This is optional like in default recipes; if you want to make this recipe count for the "Advanced Tactics" advancement add "tactical_fishing:fish_buckets" here.
"rod": {}, //Ingredient syntax, this specifies the rod needed for the recipe, if you want any rod to count use the "tactical_fishing:fishing_rods" tag
"ingredient": {}, //Ingredient syntax, this specifies what else you need to hold for the recipe
"catch": {}, //Ingredient syntax, this specifies what needs to be caught to finalize the recipe
"result": {} //ItemStack syntax, this specifies what is created from the recipe
}
Here is a template from the auto-gen’d recipes
{
"type": "tactical_fishing:fishing",
"group": "tactical_fishing:fish_buckets",
"rod": {
"tag": "tactical_fishing:fishing_rods"
},
"ingredient": {
"item": "minecraft:water_bucket"
},
"catch": {
"item": "minecraft:cod"
},
"result": {
"item": "minecraft:cod_bucket"
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "minecraft"
}
]
}
Technical Notes for Modpack Makers
You can suppress certain features via the config, like disabling the auto-gen’d fish recipes altogether.
If you wish to create new fishing recipes for your mod here is the syntax:
{
"type": "tactical_fishing:fishing",
"group": "", //This is optional like in default recipes; if you want to make this recipe count for the "Advanced Tactics" advancement add "tactical_fishing:fish_buckets" here.
"rod": {}, //Ingredient syntax, this specifies the rod needed for the recipe, if you want any rod to count use the "tactical_fishing:fishing_rods" tag
"ingredient": {}, //Ingredient syntax, this specifies what else you need to hold for the recipe
"catch": {}, //Ingredient syntax, this specifies what needs to be caught to finalize the recipe
"result": {} //ItemStack syntax, this specifies what is created from the recipe
}
Here is a template from the auto-gen’d recipes
{
"type": "tactical_fishing:fishing",
"group": "tactical_fishing:fish_buckets",
"rod": {
"tag": "tactical_fishing:fishing_rods"
},
"ingredient": {
"item": "minecraft:water_bucket"
},
"catch": {
"item": "minecraft:cod"
},
"result": {
"item": "minecraft:cod_bucket"
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "minecraft"
}
]
}
常见问题
Tactical Fishing 支持哪些 Minecraft 版本?
Tactical Fishing 支持 Minecraft Java 版 1.16.4–1.20.1,共 11 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Tactical Fishing 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分