
Relic Weapons
A content-free visual-effects API for per-item RGB glint, radiance, and particles.
- Загрузки
- 237
- Подписчики
- 0
- Обновлён
- 23 августа 2026 г.
- Лицензия
- GPL-3.0-only
Опубликован 17 мая 2026 г.
Relic Weapons
A data-driven visual-effects API for any item.
Relic Weapons 0.3 provides three independent item-stack effects without registering any catalyst item or default recipe:
- Colored enchantment glint uses
minecraft:enchantment_glint_overrideplusrelic_weapons:glint_color. It does not add an enchantment or participate in enchantment rules. - Radiance stores
relic_weapons:radiance_level, renders visible item surfaces at full brightness, and exposes the configured light level to Sodium Dynamic Lights. - Particles store a registry-dispatched vanilla or modded particle option in
relic_weapons:particle_effecttogether with bounded animation parameters.
Pack authors decide how effects are acquired. The mod ships no items and no active recipes.
Java API
VisualEffects.setGlint(stack, 0xFF7700);
VisualEffects.setRadiance(stack, 2);
VisualEffects.setParticle(stack, new ParticleEffect(
ParticleTypes.END_ROD,
ParticleAnimation.Shape.RING,
12.0F, // particles per second
0.45F, // spread in blocks
ParticleAnimation.Direction.OUTWARD,
0.04F, // particle speed
0.30F // inherited carrier motion
));
VisualEffects.copy(source, target) copies the complete visual profile without copying unrelated item components. VisualEffects.clear(stack) removes only Relic Weapons effects and the explicit glint override.
Datapack smithing API
The retained relic_weapons:glow_smithing recipe type lets a datapack use any external item as a catalyst.
Colored glint:
{
"type": "relic_weapons:glow_smithing",
"template": { "item": "minecraft:amethyst_shard" },
"glow_type": "enchantment",
"color": 16742144
}
Arbitrary particle options and animation:
{
"type": "relic_weapons:glow_smithing",
"template": { "item": "minecraft:blaze_powder" },
"glow_type": "particle",
"particle": {
"type": "minecraft:flame"
},
"shape": "trail",
"rate": 10.0,
"spread": 0.5,
"direction": "forward",
"speed": 0.08,
"inherit_motion": 0.4
}
Supported shapes are point, sphere, ring, and trail. Supported directions are random, up, outward, forward, and motion. Rates and motion values are bounded in the component codec, and the client also enforces a global per-tick particle budget.
Particles render while an affected item is held, worn as humanoid armor, or present as an item entity. NeoForge also supports equipped Curios 9.5.1+ items when Curios is installed. Per-item glint tinting covers vanilla item models and humanoid armor; custom item renderers must opt into the API or vanilla glint buffers themselves.
0.3 migration
Version 0.3 removes the old relic_weapons:enchantment_glow and relic_weapons:texture_light items and their bundled recipes. Existing visual-effect components and the smithing recipe serializer remain available. Packs that used the removed catalyst items must provide their own acquisition item or call the Java API.
Requirements
- Minecraft 1.21.1
- NeoForge 21.1 or newer, or Fabric Loader 0.19.2 or newer with Fabric API
- Optional on NeoForge: Curios 9.5.1 or newer for equipped Curios particles
Both loader artifacts are built from the same visual-profile, particle, recipe, shader, and renderer implementation:
./gradlew :neoforge:build :fabric:build
Ченджлог
0.3.3+1.21.1-fabricРелиз1.21.1 · 23 августа 2026 г.
Registers colored-glint buffers before rendering and anchors held-item and armor particles to rendered poses under one client particle budget.
0.3.3+1.21.1-neoforgeРелиз1.21.1 · 23 августа 2026 г.
Registers colored-glint buffers before rendering and anchors held-item, armor, and optional Curios particles to rendered poses under one client particle budget.
0.3.2+1.21.1-neoforgeРелиз1.21.1 · 21 августа 2026 г.
Anchors held-item particles to the selected left or right hand, with separate first-person and third-person placement instead of emitting from the carrier body.
0.3.2+1.21.1-fabricРелиз1.21.1 · 21 августа 2026 г.
Anchors held-item particles to the selected left or right hand, with separate first-person and third-person placement instead of emitting from the carrier body.
0.3.1+1.21.1-neoforgeРелиз1.21.1 · 21 августа 2026 г.
Keeps colored enchantment glint clearly visible in both inventory/direct and world/entity rendering by correcting source-color blend brightness.
0.3.1+1.21.1-fabricРелиз1.21.1 · 21 августа 2026 г.
Keeps colored enchantment glint clearly visible in both inventory/direct and world/entity rendering by correcting source-color blend brightness.
0.3.0+1.21.1-neoforgeАльфа1.21.1 · 20 августа 2026 г.
Relic Weapons 0.3.0
Relic Weapons is now a content-free visual-effects API for arbitrary item stacks.
Added
- Per-item RGB enchantment glint that is actually consumed by item and armor renderers.
- Data-driven radiance and arbitrary registered particle options.
- Point, sphere, ring, and trail emitters with rate, spread, direction, speed, and entity-motion inheritance.
- Public immutable
VisualEffectProfilesnapshot/apply API. - Fabric 1.21.1 build alongside NeoForge 1.21.1.
Removed
- Built-in Enchantment Glow and Texture Light material items.
- Built-in survival recipes and the old material-specific dynamic-light entry.
This is a breaking content-removal release. Packs must provide their own templates, recipes, and progression if desired.
0.3.0+1.21.1-fabricАльфа1.21.1 · 20 августа 2026 г.
Relic Weapons 0.3.0
Relic Weapons is now a content-free visual-effects API for arbitrary item stacks.
Added
- Per-item RGB enchantment glint that is actually consumed by item and armor renderers.
- Data-driven radiance and arbitrary registered particle options.
- Point, sphere, ring, and trail emitters with rate, spread, direction, speed, and entity-motion inheritance.
- Public immutable
VisualEffectProfilesnapshot/apply API. - Fabric 1.21.1 build alongside NeoForge 1.21.1.
Removed
- Built-in Enchantment Glow and Texture Light material items.
- Built-in survival recipes and the old material-specific dynamic-light entry.
This is a breaking content-removal release. Packs must provide their own templates, recipes, and progression if desired.
Комментарии
Загружаем…