Make a mod that makes it so when i name my sword Snow it turns into a white 3D blade
KodariOct 22 at 11:24 pm 9
SnowBladeTransmogrifier
Adds a Minecraft mod where naming any sword "Snow" transforms it into a white 3D blade. The mod listens for item rename events, detects when a sword is named Snow, and replaces its appearance with a custom white blade model. Includes a custom 3D model file with snowy white textures, particle effects when swinging, and frost particle trails. Compatible with all sword types including iron, diamond, and netherite variants.
Create the snow-themed 3D blade asset.
Check the 1.21.11 GeckoLib item-rendering and vanilla item-rendering APIs.
Wire the “Snow”-named sword visual into a survival-ready Fabric mod.
Renaming any vanilla sword—wood, copper, stone, gold, iron, diamond, or netherite—to exactly Snow switches it to the generated 3D icy blade. Other names keep the sword’s normal appearance.
Also added a craftable Snowblade: craft it with packed ice above an iron ingot above a stick, then rename it Snow at an anvil.
my game crashes each time i try to rename my sword to snow can you fix that
KodariOct 22 at 11:53 pm 2
Verify the named-sword rendering assets and APIs involved in the crash.
Correct the broken render resource reference and any directly related path mismatch.
Fixed the broken GeckoLib texture reference. It pointed to a missing textures/entity/snow_blade.png; both sword renderers now use the existing textures/item/snow_blade.png asset.
my game still crashes
KodariOct 23 at 12:05 am 3
Check the exact 1.21.11 custom-name model definition and renderer path.
Fix the name-triggered render route and avoid changing unrelated behavior.
Fixed the remaining model-path bug in both GeckoLib renderers. They were requesting snowblade:snow_blade as a direct model resource instead of letting GeckoLib resolve snowblade:geckolib/models/item/snow_blade.geo.json.
Try the updated mod. If it still crashes, send the crash report or latest.log so I can pinpoint the next cause.
make it so the blade is smaller and fully visible in hotbar and in hand and add more detail to the model
KodariOct 24 at 9:09 pm 4
Updated the blade model to be smaller and more fully visible in the hotbar and in hand, with added icy detailing. The updated geometry is in the model path the sword renderer already uses. Compile the project and try the new build.
Kodari can make mistakes. Review important code before using.
package dev.kodari.snowblade;
import net.fabricmc.api.ModInitializer;
public class SnowBladeMod implements ModInitializer {
public static final String MOD_ID = "snowblade";
@Override
public void onInitialize() {
SnowBladeCreativeTab.initialize();
}
}