Skip to content

Common config

File: config/fletchingrecipe-common.toml

Options

OptionTypeDefaultRangeWhat it does
allowExplosiveCraftingBooleantrue Whether the table has an explosive slot. When false, the slot is covered and explosive arrows cannot be crafted.
tippedArrowCraftingAmountInteger161 to 64 Arrows used and made by one tipped arrow craft, for 1 lingering potion.
explosiveArrowCraftingAmountInteger41 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 asconfig/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 = 4
toml
#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 = 4
toml
# NeoForge layout. On Fabric, leave out the first line and the indents.
["Fletching Recipe"]
	allowExplosiveCrafting = false
	tippedArrowCraftingAmount = 64
	explosiveArrowCraftingAmount = 4

Reloading 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 allowExplosiveCrafting to 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.

All Rights Reserved.