Skip to content

Stick data ​

Every stick is an entry in the arrowplus/sticks datapack registry. Add your own and players can use it with any head and feather.

data/<namespace>/arrowplus/sticks/<name>.json

For example, data/mymod/arrowplus/sticks/amethyst.json adds the stick mymod:amethyst.

A stick is either standalone, where the material item itself goes in the arrow recipe (like bamboo), or crafted into an arrowplus:custom_stick first (like the iron stick).

Fields ​

FieldTypeRequiredDescription
materialitem id, #tag or list of item ids✅Standalone: the items used as the stick. Crafted: what the stick is crafted from.
colorint✅Tint of the stick on the arrow (and of the custom stick item), as a signed decimal ARGB int. The arrow designer converts colors.
translationKeystring✅Lang key for the stick's name. Standalone sticks can use the item's own key, e.g. block.minecraft.bamboo.
gravitynumberHow fast the arrow drops each tick. Defaults to 0.05, the vanilla arrow.
velocitynumberLaunch speed multiplier. Defaults to 1.0. Also scales damage.
standalonebooleantrue to use the material item directly. Defaults to false.
outputAmountintCrafted sticks per craft. Defaults to 4. Not used by standalone sticks.

Physics values must be finite: gravity accepts 0–1 and velocity accepts 0.01–4. Output amount accepts 1–64. Invalid values fail datapack loading with a field error.

Crafting ​

Crafted sticks: two of the material in a column make outputAmount sticks.

Crafting ➜ ES4Emerald Stick

Standalone sticks have no recipe of their own.

Examples ​

Crafted stick ​

json
{
  "material": "minecraft:amethyst_shard",
  "color": -6543440,
  "translationKey": "item.mymod.amethyst_stick",
  "gravity": 0.045,
  "velocity": 1.1,
  "outputAmount": 4
}
json
// assets/mymod/lang/en_us.json
{
  "item.mymod.amethyst_stick": "Amethyst Stick"
}

Standalone stick ​

The built-in bamboo stick:

json
{
  "material": "minecraft:bamboo",
  "color": -8412366,
  "translationKey": "block.minecraft.bamboo",
  "gravity": 0.045,
  "velocity": 0.9,
  "standalone": true
}

Material conflicts

An item should only be the material of one standalone stick. If two match, the first one wins.

Built-in entries ​

StickFromGravityVelocityId
BambooUsed directly0.045×0.9arrowplus:bamboo
Blaze RodUsed directly0.06×1.2arrowplus:blaze_rod
BoneUsed directly0.05×1.05arrowplus:bone
Breeze RodUsed directly0.03×1.1arrowplus:breeze_rod
Any wooden rodUsed directly0.05×1arrowplus:stick
CSCopper Stick ×40.05×1.1arrowplus:copper
DSDiamond Stick ×40.045×1.1arrowplus:diamond
ESEmerald Stick ×40.035×1arrowplus:emerald
GSGold Stick ×40.05×1.15arrowplus:gold
ISIron Stick ×40.055×1.2arrowplus:iron
NSNetherite Stick ×40.12×1.25arrowplus:netherite

Released under the MIT License.