Мова

Tactical Fishing

Tactical Fishing

Modrinth

A new way of getting fish into buckets

11.6k завантажень 18 підписників оновлено 32mo ago
остання v1.2 Modrinth
Forge 1.16.5 – 1.20.1 Game-mechanicsStorageUtility

TL;DR Gif
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!

JEI preview


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"
         }
    ]
}

Версії

Release
1.2
forge · 1.19, 1.19.1, 1.19.2 · 32mo ago
- Initial 1.19-1.19.2 port - Datapack usage dropped due to unknown (most likely Forge?) issue, now uses direct injections into RecipeManager/TagLoader - Config…
5.6k
Release
1.2
forge · 1.20, 1.20.1 · 32mo ago
- Initial 1.20/-.1 port - Datapack usage dropped due to unknown (most likely Forge?) issue, now uses direct injections into RecipeManager/TagLoader - Config…
5.5k
Release
1.1.2
forge · 1.18.1, 1.18.2 · 32mo ago
- Fixed another crash that occured whenever a 1.18.2 server was launched with this mod
255
Release
1.1.1
forge · 1.17.1 · 32mo ago
- Added Russian Translation provided by BardinTheDwarf - Fixed a crash that occured whenever a server was launched with this mod, opps
78
Release
1.1.1
forge · 1.16.5 · 32mo ago
- Added Russian Translation provided by BardinTheDwarf - Fixed a crash that occured whenever a server was launched with this mod, opps
185

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити Tactical Fishing

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.