ModsFinder

Shampoo's Weapons API

by MyShampooIsDrunk

Shampoo's Weapons API is a Fabric library that lets programmers register custom weapons with their own crafting recipes and abilities.

FabricServer-side onlyCreative Commons Attribution 4.01.20.4

What it does

Programmers use the API to define weapons with custom shaped and shapeless crafting recipes, a custom use method, and custom attack, throw, sneak and jump abilities. Entity interactions and item cooldowns can also be set for each weapon, so a mod can build a full set of items on top of it.

Installing the mod on the server side is all it takes; players do not need it in their own game folders. Clients need a resource pack that the server provides, which supplies textures, models and language entries for the weapons. Installation instructions are published on GitHub, and the source code and a wiki are linked from the project pages.

Files are published for Fabric only, for 1.20.4, with version 1.1.1 dated 2024-03-17 as the latest. The mod is released under the Creative Commons Attribution 4.0 license and is not open source.

Key features

  1. Custom crafting recipes

    Weapons can be given shaped and shapeless crafting recipes defined through the API.

  2. Custom combat abilities

    Attack, throw, sneak and jump behaviour can each be defined for a weapon, along with a custom use method.

  3. Entity interactions and cooldowns

    Weapons can react to entities and carry their own item cooldowns, which the API manages.

Compatibility

Latest build for each game version and loader.

1.20.41.1.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Building weapon mods

A mod author can register a new family of weapons and rely on the API for recipes, abilities and cooldowns instead of writing that logic from scratch.

Custom server content

Server owners who add weapon packs can install this library on the server and ship the matching resource pack to players.

Who it’s for: Programmers writing Fabric mods that add weapons, and server owners who run weapon content built on the API.

How it compares

Full comparison

Combat Crafts is a Fabric mod for 1.20.1 that is client and server and open source under the MIT License. NBT Recipes is a server-side only Fabric and Quilt mod for 1.20 – 1.20.1, released under the Apache License 2.0 and open source. CraftableChainmailArmor is server required with client optional, covers 1.20 – 26.1.1 on Fabric and Quilt, and is not open source.

ModLoadersGame versionsEnvironmentUpdated
Shampoo's Weapons APIFabric1.20.4Server-side only2024-03-17
Combat CraftsFabric1.20.1Client and server2024-12-26
NBT RecipesFabric and Quilt1.20 – 1.20.1Server-side only2023-11-14
CraftableChainmailArmorFabric and Quilt1.20 – 26.1.1Server required, client optional2026-04-03

Questions

Does Shampoo's Weapons API need to be installed on the client?

The mod runs on the server side only. Clients do not need the mod itself, but they need the resource pack the server provides for textures, models and language files.

Which loader does Shampoo's Weapons API support?

Only Fabric. Files are published for Fabric alone, for Minecraft 1.20.4.

Where can a modder find installation details?

Installation instructions are published on GitHub, and the project also links its source code and a wiki.

In the catalog

Shampoo's Weapons API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.

Similar mods

What the author says

This mod allows other modders to create items that have custom crafting recipes, textures/models, abilities, stats, etc. This mod only needs to be installed on the server's side, however, if you want the custom lang file and textures to register on the client side, you need to give your players a resource pack or…
MyShampooIsDrunk, on the Modrinth page

Official listing

Owner
MyShampooIsDrunk
Published
2024-03-17
Updated on Modrinth
2024-03-17
Facts verified
2026-10-15

Tags