gabr2rr

the mod that adds a "Cool Stick" that has the same cooldown as fist and deals 318 damage, i attached an image that you should use as it's texture

[Viewing 1 image]

Kodari AI
KodariOct 23 at 7:30 pm 7
CoolStickWeapon
Adds a powerful "Cool Stick" melee weapon to Minecraft Fabric 26.2. The stick deals 318 damage per hit and has the same attack cooldown as a bare fist, allowing for rapid strikes. The mod includes a custom texture for the item, matching the provided image. Players can obtain the Cool Stick through a simple crafting recipe or command, making it a devastating tool for combat and creative play. The weapon integrates seamlessly with vanilla mechanics, including durability, enchantability, and tooltips.

Plan:

  1. Create the attached-image-inspired stick texture.

  2. Verify the 26.2 item, registry, and creative-tab APIs.

  3. Add the mod skeleton, item, survival recipe, and resource files.

Added the Cool Stick mod with the attached-image-inspired texture. It deals 318 damage, keeps the fist’s attack speed, and has 500 durability; redstone repairs it. Craft it with redstone above a stick.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
11 175
src/main/java/com/example/coolstick/CoolStickMod.java
package com.example.coolstick;

import net.fabricmc.api.ModInitializer;

public class CoolStickMod implements ModInitializer {
	public static final String MOD_ID = "coolstick";

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