Skip to content

1.21.1 common fields

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

Common Fields

Field Type Description
id String Unique identifier. Lowercase letters, numbers, and underscores only. 2–64 characters.
type String Item type (see Supported Types table)
names Map Full item name per language (individual items only — sets use piece_names, tool_names, or weapon_names)
enchantable Boolean Whether the item can be enchanted
enchantability Int Higher = better enchantments. Iron = 9, Gold = 25, Diamond = 10
tags List Tags this content belongs to, WITHOUT # (e.g. ["c:ingots", "c:ingots/ruby"]). Lets recipes that accept #that_tag use it. See Tags. Works on items, food, blocks, fluids and containers (not on sets)
fire_resistant Boolean The dropped item survives fire and lava, like netherite (on fluids: the filled bucket). Does not protect the wearer from fire. Requires restart

Effect Object

Field Type Description
effect String Effect ID in namespace:effect_name format (e.g. minecraft:strength)
amplifier Int Effect level minus 1, from 0 to 255. 0 = Level I, 1 = Level II, etc. The parser rejects anything outside that range, the most the game can save

In the mod's tooltips, levels are written as Roman numerals up to X and as plain numbers from 11, where vanilla has no numeral left. Each player can change that with level_numerals under [tooltips] in config/customgear-client.toml: MIXED (the default), ROMAN (Roman numerals at every level: XI, XII…) or ARABIC (plain numbers at every level). It is also in the mod's config screen (the Config button in NeoForge's Mods list, or Mod Menu on Fabric), where the change shows at once; edited by hand, the file is read when the game starts. Vanilla's own enchantment and potion levels are not affected.

Item ID Reference

Type ID pattern Example
Armor set pieces customgear:<set_id>_<piece> customgear:my_armor_helmet
Tool set tools customgear:<set_id>_<tool> customgear:my_tools_pickaxe
Weapon set weapons customgear:<set_id>_<weapon> customgear:my_weapons_sword
Individual items customgear:<id> customgear:my_sword
Blocks customgear:<id> customgear:my_ore
Fluid buckets customgear:<id>_bucket customgear:my_fluid_bucket

Clone this wiki locally