跳转至

一行式物品创建

用一行命令定义物品。不能包含空格,用 _ 代替空格,__ 代替下划线。

示例

diamondsword;{#Gray}My_Uber_Sword;&2Goblin_Slayer!\n{#pink}With_Love!;sharpness:3,durability:3;hideenchants
bow;AttackDamage:1.5:multiply_base:Mainhand,Luck:1:multiply_base:Head;unbreakable;hideunbreakable
leatherchestplate;#pink;Redstone:Coast

材质

以材质名开头,snowballSNOWBALLSNOW_BALL 均可。子值用 **;** 分隔,用 **{}** 包围值。名称/Lore 中需要 **;** 时用 ;;

数量

材质后用 - 分隔数量:ACACIA_PRESSURE_PLATE-5(5 个)。未定义则为 1。也可用 **;** 分隔:ACACIA_PRESSURE_PLATE;5

物品名称

**n{ &2自定义名称}** 或直接 **&2自定义名称**(第一个无法识别为其他变量的文本条目)。含 \\n 时视为 Lore。

物品 Lore

**l{ &2第一行\\n&3第二行}** 或直接写,用 \\n 分隔行。

附魔

**sharpness:2,durability:5 多个附魔用逗号分隔。

自定义模型数据

**cm{123456}** 整数。

属性

**AttackDamage:1.5:add:Mainhand,Luck:1:multiply_base:Head**

类型:Armor, ArmorToughness, AttackDamage, AttackKnockback, AttackSpeed, FlyingSpeed, FollowRange, KnockbackResistance, Luck, MaxHealth, MovementSpeed, JumpHeight, SpawnReinforcements

操作:0/add, 1/multiply_base, 2/multiply

槽位:Mainhand, Offhand, Head, Chest, Legs, Feet

物品旗帜

**hide_attributes,hide_enchants** 逗号分隔。

旗帜:hide_armor_trim, hide_attributes, hide_destroys, hide_dye, hide_enchants, hide_placed_on, hide_potion_effects, hide_unbreakable

刷怪笼类型

**spawner;creeper****spawner; &2名称!;creeper**

皮革盔甲颜色

**leatherboots;662266****leatherboots;red****leatherboots;125,23,123****leatherboots;random**

画作

**painting;pool** 类型:Alban, Aztec, Aztec2, Bomb, Burning_skull, Bust, Courbet, Creebet, Donkey_kong, Earth, Fighters, Fire, Graham, Kebab, Match, Pigscene, Plant, Pointer, Pool, Sea, Skeleton, Skull_and_roses, Stage, Sunset, Void, Wanderer, Wasteland, Water, Wind, Wither

山羊角

**goathorn;call** 类型:Ponder, Sing, Seek, Feel, Admire, Call, Yearn, Dream

盔甲纹饰(1.20+)

**chainmailchestplate;iron:dune**

材料:Iron, Copper, Gold, Lapis, Emerald, Diamond, Netherite, Redstone, Amethyst, Quartz

图案:Coast, Dune, Eye, Host, Raiser, Rib, Sentry, Shaper, Silence, Snout, Spire, Tide, Vex, Ward, Wayfinder, Wild

药水

**potion;speed:true:true**(类型:升级:延长)

特殊变量

**unbreakable** — 不可破坏

陶片(装饰罐)

**decoratedpot;Skull,Archer,Angler,Explorer** 最多 4 个陶片。

陶片:Angler, Archer, Arms_up, Blade, Brewer, Burn, Danger, Explorer, Friend, Heartbreak, Heart, Howl, Miner, Mourner, Plenty, Prize, Sheaf, Shelter, Skull, Snort