Sneha

Make a fabric mod for 26.2 which adds 8-12 custom weapons with unique ability it should be both server and client side

Kodari AI
KodariNov 10 at 2:11 pm 15
ArsenalExpansion
Adds 8-12 custom weapons to Minecraft Fabric 26.2, each with a unique active ability triggered by right-click. Weapons include a flaming sword that ignites targets, a frost bow that slows enemies, a lightning hammer that strikes nearby foes, and a lifesteal dagger that heals on hit. Each weapon features custom textures, models, and tooltips. The mod is fully server-authoritative for ability logic while providing client-side rendering and cooldown indicators. All weapons are balanced with durability, cooldowns, and crafting recipes, integrating seamlessly with vanilla combat mechanics.
  1. Create eight distinct weapons with server-authoritative right-click abilities.

  2. Register them, add survival recipes and combat-tab entries, and provide item models, names, and unique textures.

  3. Set up the Fabric 26.2 project and shared client/server registration.

Added Arcane Armory, a Fabric 26.2 mod with eight durable weapons. Their right-click abilities run on the server and include effects and cooldowns; the mod and its item assets are available to clients and dedicated servers.

  • Cinderbrand — ignites nearby creatures. Craft with 3 blaze powder, a diamond, and a stick.

  • Glacierfang — slows nearby creatures. Craft with packed ice, 2 iron ingots, a diamond, and a stick.

  • Stormlance — grants speed and strength. Craft with 3 copper ingots, a diamond, and a stick.

  • Quakehammer — launches nearby creatures upward. Craft with 5 iron ingots, 2 stone, and a stick.

  • Riftcutter — dashes in the direction you’re looking. Craft with obsidian, 2 ender pearls, a diamond, and a stick.

  • Lifebloom — restores health. Craft with 2 gold ingots, a golden apple, a diamond, and a stick.

  • Venomfang — poisons nearby creatures. Craft with 2 spider eyes, a diamond, and 2 sticks.

  • Galeweaver — launches you upward and grants speed. Craft with 2 feathers, a diamond, copper, and a stick.

All eight are in a dedicated creative tab and have shaped survival recipes. Three weapons have custom textures; texture generation ran out of credits, so the other five use vanilla weapon icons.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
35 421
src/main/java/com/kodari/arcane_armory/ArcaneArmory.java
package com.kodari.arcane_armory;

import net.fabricmc.api.ModInitializer;

public final class ArcaneArmory implements ModInitializer {
	public static final String MOD_ID = "arcane_armory";

	@Override
	public void onInitialize() {
		ModItems.initialize();
	}
}