Common config
File: config/fletchingrecipe-common.toml
Options
| Option | Type | Default | Range | What it does |
|---|---|---|---|---|
allowExplosiveCrafting | Boolean | true | Whether the table has an explosive slot. When false, the slot is covered and explosive arrows cannot be crafted. | |
tippedArrowCraftingAmount | Integer | 16 | 1 to 64 | Arrows used and made by one tipped arrow craft, for 1 lingering potion. |
explosiveArrowCraftingAmount | Integer | 4 | 1 to 64 | Arrows used and made by one explosive arrow craft, for 1 explosive ingredient. |
Values outside the range are clamped: 0 counts as 1 and 100 as 64.
Generator
Save as
config/fletchingrecipe-common.toml["Fletching Recipe"]
#Allow fletching table to craft explosive arrow
allowExplosiveCrafting = true
#Amount of tipped arrow it can craft with 1 lingering potion, if json recipe for particular tipped arrow are defined, it will not be controlled by this config
# Default: 16
# Range: 1 ~ 64
tippedArrowCraftingAmount = 16
#Amount of explosive arrow it can craft with 1 explosive ingredient
# Default: 4
# Range: 1 ~ 64
explosiveArrowCraftingAmount = 4
Replace the whole file, on the server and on every player's game. See reloading and multiplayer.
Examples
The layout differs by loader. NeoForge puts the options under a ["Fletching Recipe"] table and adds default and range comments.
toml
["Fletching Recipe"]
#Allow fletching table to craft explosive arrow
allowExplosiveCrafting = true
#Amount of tipped arrow it can craft with 1 lingering potion, if json recipe for particular tipped arrow are defined, it will not be controlled by this config
# Default: 16
# Range: 1 ~ 64
tippedArrowCraftingAmount = 16
#Amount of explosive arrow it can craft with 1 explosive ingredient
# Default: 4
# Range: 1 ~ 64
explosiveArrowCraftingAmount = 4toml
#Allow fletching table to craft explosive arrow
allowExplosiveCrafting = true
#Amount of tipped arrow it can craft with 1 lingering potion, if json recipe for particular tipped arrow are defined, it will not be controlled by this config
tippedArrowCraftingAmount = 16
#Amount of explosive arrow it can craft with 1 explosive ingredient
explosiveArrowCraftingAmount = 4toml
# NeoForge layout. On Fabric, leave out the first line and the indents.
["Fletching Recipe"]
allowExplosiveCrafting = false
tippedArrowCraftingAmount = 64
explosiveArrowCraftingAmount = 4Reloading and multiplayer
The game notices when the file is saved and applies the new values. Players get the server's amounts, for JEI, the next time they join or when /reload runs.
- Open screens keep the explosive slot they opened with. Close and reopen the table after changing
allowExplosiveCrafting. - On a server, give players the same file. Each player's table screen uses their own
allowExplosiveCraftingto decide whether to show the explosive slot, so a mismatch with the server breaks the screen. - On Fabric in single player, the file stops being watched after you leave a world. Restart the game to apply later changes.
