跳转至

ICWOL 脚本语言🔗


用单行定义物品堆叠。请记住,它不应该包含任何空格,如果你需要为物品名称或物品 lore 之类的东西定义空格,请使用下划线如 _,如果你需要真正的下划线,那么使用双下划线,如 __

更复杂物品的示例🔗
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
材质🔗

物品定义需要以材质名称开始。例如 snowballSNOWBALL 甚至 SNOW_BALL 都会被接受。

子值🔗

子值用 ; 分隔,后面跟一个指示符来定义它的类型,它的值用 {} 括起来。如果你需要在名称或 lore 中使用 ;,那么使用 ;;。 不允许有空格;用 _ 表示空格,用 __ 表示下划线。

数量🔗

数量在材质之后定义,用 - 分隔材质名称,例如 ACACIA_PRESSURE_PLATE-5 将定义 5 个物品。如果没有定义数量,那么将使用 1。 或者,你可以用 ; 分隔数量,如 ACACIA_PRESSURE_PLATE;5

物品名称🔗

物品名称定义为 n{&2Custom_Item_Name} 或干净文本 &2Custom_Item_Name(如果这是第一个条目,作为无法被识别为任何其他变量的文本),如果它包含 \n 则会被忽略,\n 将用于 lore 条目。

示例:BREAD-12;&2Tasty!BREAD-12;n{&2Tasty_food!}

物品 Lore🔗

物品 lore 定义为 l{&2First_Line\n&3Second_line} 或干净文本 &2First_Line\n&3Second_line。单独的 lore 行可以通过包含 \n 来定义,其中不允许有空位。如果它是单行,那么它需要被 l{} 括起来,或者在此之前已经定义了一个物品名称。

例如:BREAD-12;l{&2Eat_Me!}BREAD-12;&2Eat_Me!\n{#blue}Tasty!

附魔🔗

物品附魔定义为 sharpness:2,durability:5,如果你想包含多个附魔,用逗号分隔。

示例:Bow;durability:5,power:1

自定义模型数据🔗

物品自定义模型数据定义为 cm{123456},这需要包含一个整数类型的数字。

示例:carrot;cm{1234}

属性🔗

物品属性定义为 AttackDamage:1.5:add:Mainhand,Luck:1:multiply_base:Head。第一个值将定义属性类型,后面跟着需要改变的量。这可以是任何在定义的操作中使用的小数值。操作可以用数字 0、1、2 或操作名 add、multiply_base、multiply 定义。

类型 - 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

示例:bow;AttackDamage:1.5:multiply_base:Mainhand,Luck:1:multiply_base:Head

物品标志🔗

物品标志定义为 hide_attributes,hide_enchants,每个标志用逗号分隔。

标志 - hide_armor_trim - hide_attributes - hide_destroys - hide_dye - hide_enchants - hide_placed_on - hide_potion_effects - hide_unbreakable

示例:diamondsword;hideunbreakable,hideattributes,hide_enchants

刷怪笼类型🔗

它只适用于刷怪笼。刷怪笼类型可以用基本方式定义为 creeper 或你服务器版本中存在的任何其他实体类型。 附注:设置刷怪笼名称将改变刷怪笼的自定义名称,如果你不使用 n{[name]} 格式定义物品的自定义名称,那么你应该在设置刷怪笼名称之前设置名称;名称将被转移到 lore 部分。

示例:spawner;&2My_Creepy_Spawner!;creeperspawner;creeper;n{&2My_Creepy_Spawner!}

皮革盔甲颜色🔗

它只适用于皮革盔甲物品堆叠。定义为 leatherboots;662266leatherboots;redleatherboots;125,23,123

示例:leatherboots;lightpurpleleatherboots;random

🔗

它只适用于画。通过简单地提供画的名称来定义。

类型 - 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

示例:painting;pool

山羊角🔗

它只适用于山羊角。通过简单地提供山羊角的名称来定义。

类型 - Ponder - Sing - Seek - Feel - Admire - Call - Yearn - Dream

示例:goathorn;call

盔甲纹饰🔗

适用于 1.20+ 服务器。

盔甲纹饰定义为 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

示例:chainmailchestplate;iron:dune

药水🔗

当你拥有药水物品堆叠时,你可以定义它的类型、它是否被强化、以及它是否被扩展,用类似 speed:true:true 的方式。

示例:potion;speed:true:true

特殊项🔗

定义物品特定方面的特殊变量。定义为 unbreakable

Unbreakable – 使物品不可破坏。 示例:diamondsword;unbreakable

陶片🔗

只适用于装饰陶罐 decoratedpot;Skull,Archer,Angler,Explorer,你可以有少于 4 个陶片。任何超过 4 个的将被忽略。 - Angler - Archer - Arms_up - Blade - Brewer - Burn - Danger - Explorer - Friend - Heartbreak - Heart - Howl - Miner - Mourner - Plenty - Prize - Sheaf - Shelter - Skull - Snort

示例:decoratedpot;Skull,Archer,Angler,Explorer (内容由AI生成,仅供参考)