Pegassi Demigod

Create a minecraft java mod where you add dwarves, orcs, elves and humans. dwarves create multiple dynamic weapons and showcase their engineering marvel. Elves are wise creatures who have the knowledge of magic, enchantments and potions. Orcs are physically very strong. Humans are persistent creatures with best features of all them. Add a few new tools, enchantments, potions and other items native to these 4 races.

Kodari AI
KodariNov 14 at 5:48 am 17
RacialForge
Adds four playable races to Minecraft: Dwarves, Orcs, Elves, and Humans. Dwarves craft dynamic multi-stage weapons that evolve through use, showcasing engineering marvels. Elves gain enhanced magical knowledge, unlocking unique enchantments and potent potions. Orcs possess immense physical strength, granting increased melee damage and knockback resistance. Humans are adaptable, receiving balanced bonuses across all attributes. Introduces race-specific tools, weapons, enchantments, potions, and crafting materials native to each culture, with a quest system to unlock racial abilities and a configurable race selection menu at spawn.
  • Add four activatable racial paths with distinct buffs, survival recipes, and matching item art.

  • Add crafted dwarf/orc/human weapons, two drinkable brews, and two enchantments available at enchanting tables.

  • Wire registration, creative inventory entries, localization, item models, and the Fabric 26.3 project files.

Created Fourfold Realms with four craftable heritage sigils. Using a sigil grants a timed racial buff with a cooldown: dwarven resistance and fire resistance, orcish strength and speed, elven night vision and jump boost, or human regeneration and absorption.

  • Craftable gear: Dwarven Borepick and Gearaxe, Orcish Warcleaver, and Human Vanguard Blade. The tools have durability and tier-based repair materials.

  • Brews: Moonwell Draught grants night vision and regeneration; Orcish Warbrew grants strength and resistance. Both are drinkable and return a glass bottle.

  • Enchantments: Runic Edge and Unyielding Force can appear at enchanting tables on the mod’s weapons.

All items have survival crafting recipes. Heritage sigils use race-themed materials; the weapons and brews use their corresponding vanilla crafting ingredients. Studio credits ran out after five textures, so the remaining items use vanilla fallback icons rather than missing textures.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
47 545
src/main/java/com/kodari/fourfold/FourfoldMod.java
package com.kodari.fourfold;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.creativetab.v1.CreativeModeTabEvents;
import net.minecraft.core.registries.Registries;
import net.minecraft.resources.Identifier;
import net.minecraft.resources.ResourceKey;
import net.minecraft.world.item.CreativeModeTab;

public final class FourfoldMod implements ModInitializer {
	public static final String MOD_ID = "fourfold";

	@Override
	public void onInitialize() {
		RaceItems.initialize();
		ResourceKey<CreativeModeTab> combatTab = ResourceKey.create(
			Registries.CREATIVE_MODE_TAB,
			Identifier.fromNamespaceAndPath("minecraft", "combat")
		);
		CreativeModeTabEvents.modifyOutputEvent(combatTab).register(output -> {
			for (int index = RaceItems.ALL.size() - 1; index >= 0; index--) {
				output.prepend(RaceItems.ALL.get(index));
			}
		});
	}
}