Pyrexia

there is 8 fangs with custom abilitys, Void fang, Shark Fang, End fang, Nether fang, Vamp Fang, Dragon Fang and Flash fang

Kodari AI
KodariSep 20 at 7:55 pm 1
FangForge
FangForge adds eight unique fangs to Minecraft, each granting a distinct passive or active ability when held. Void Fang teleports the player short distances, Shark Fang grants underwater breathing and swift swimming, End Fang allows limited teleportation to looked-at locations, Nether Fang provides fire resistance and lava walking, Vamp Fang drains health from nearby mobs to heal the player, Dragon Fang launches a fireball attack, and Flash Fang grants a burst of speed. Each fang has a custom model, crafting recipe, and cooldown system, with configurable balance options.
  1. Create a vanilla Minecraft 1.21.4 datapack with eight custom fangs and right-click abilities.

  2. Register load/tick functions, cooldown handling, item detection, and a /function fangpack:give_all distribution command.

  3. The listed fangs contain seven names, so the eighth fang is added as Storm Fang.

Download the ZIP using the export button, extract the fang_fangs folder into world/datapacks/, run /reload, and verify it with /datapack list. Use /function fangpack:give_all to receive all eight fangs and right-click while holding one to activate its ability.

Kodari can make mistakes. Review important code before using.
Files
fang_fangs
Fang SMp
Code
16 85
fang_fangs/data/fangpack/function/give_all.mcfunction
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Void Fang","color":"dark_purple","italic":false}',lore=['{"text":"Right-click: Blink through the void","color":"gray","italic":false}'],custom_data={fang:"void"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Shark Fang","color":"aqua","italic":false}',lore=['{"text":"Right-click: Release a devastating bite","color":"gray","italic":false}'],custom_data={fang:"shark"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"End Fang","color":"light_purple","italic":false}',lore=['{"text":"Right-click: Leap through the End","color":"gray","italic":false}'],custom_data={fang:"end"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Nether Fang","color":"red","italic":false}',lore=['{"text":"Right-click: Unleash Nether fire","color":"gray","italic":false}'],custom_data={fang:"nether"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Vamp Fang","color":"dark_red","italic":false}',lore=['{"text":"Right-click: Drain life from nearby enemies","color":"gray","italic":false}'],custom_data={fang:"vamp"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Dragon Fang","color":"gold","italic":false}',lore=['{"text":"Right-click: Unleash dragon power","color":"gray","italic":false}'],custom_data={fang:"dragon"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Flash Fang","color":"yellow","italic":false}',lore=['{"text":"Right-click: Become lightning fast","color":"gray","italic":false}'],custom_data={fang:"flash"},enchantment_glint_override=true] 1
give @s minecraft:carrot_on_a_stick[custom_name='{"text":"Storm Fang","color":"blue","italic":false}',lore=['{"text":"Right-click: Call down a lightning strike","color":"gray","italic":false}'],custom_data={fang:"storm"},enchantment_glint_override=true] 1