我的世界高版本服主教程合集
常用工具网站常用开服网站高版本插件推荐免费服务端/福利
Auxilor Plugins
Auxilor Plugins
  • 欢迎
  • 通用信息
    • 关于 eco
    • 兼容插件
    • 物品语句
    • 实体语句
    • 粒子语句
    • 价格
    • 自定义GUI
    • *数学计算
    • *可用物品类型
  • 自定义效果
    • 配置一个效果
    • 配置一个条件
    • 所有效果
      • add_damage
      • add_enchant
      • add_holder
      • add_holder_in_radius
      • add_holder_to_victim
      • add_permanent_holder_in_radius
      • add_point
      • add_stat
      • add_stat_temporarily
      • age_crop
      • all_players
      • aoe
      • aoe_blocks
      • armor
      • armor_toughness
      • arrow_ring
      • attack_speed_multiplier
      • autosmelt
      • bleed
      • block_command
      • bonus_health
      • boss_drop_chance_multiplier
      • break_block
      • brew_time_multiplier
      • broadcast
      • cancel_event
      • clear_invulnerability
      • close_inventory
      • consume_held_item
      • create_boss_bar
      • create_hologram
      • *create_explosion
      • crit_multiplier
      • damage_armor
      • damage_item
      • damage_mainhand
      • damage_multiplier
      • damage_nearby_entities
      • damage_offhand
      • damage_twice
      • damage_victim
      • dont_consume_lapis_chance
      • dont_consume_xp_chance
      • drill
      • drop_item
      • drop_pickup_item
      • drop_random_item
      • drop_weighted_random_item
      • elytra_boost_save_chance
      • extinguish
      • flight
      • feather_step
      • food_multiplier
      • gain_task_xp
      • give_food
      • give_global_points
      • give_health
      • give_item
      • give_item_points
      • give_job_xp
      • give_magic
      • give_mcmmo_xp
      • give_money
      • give_oxygen
      • give_permission
      • give_pet_xp
      • give_points
      • give_price
      • give_saturation
      • give_skill_xp
      • give_skill_xp_naturally
      • give_task_xp
      • give_xp
      • glow_nearby_blocks
      • homing
      • hunger_multiplier
      • ignite
      • item_durability_multiplier
      • job_xp_multiplier
      • jobs_money_multiplier
      • jobs_xp_multiplier
      • keep_inventory
      • kick
      • knock_away
      • knockback_multiplier
      • knockback_resistance_multiplier
      • level_item
      • luck_multiplier
      • magic_regen_multiplier
      • mcmmo_xp_multiplier
      • mine_radius
      • mine_radius_one_deep
      • mine_vein
      • mob_coins_multiplier
      • movement_speed_multiplier
      • multiply_all_stats
      • multiply_drops
      • multiply_global_points
      • multiply_item_points
      • multiply_magic
      • multiply_points
      • multiply_stat
      • multiply_stat_temporarily
      • multiply_velocity
      • name_entity
      • open_crafting
      • open_ender_chest
      • particle_animation
      • particle_line
      • pay_price
      • permanent_potion_effect
      • pet_xp_multiplier
      • piercing
      • play_sound
      • potion_duration_multiplier
      • potion_effect
      • pull_in
      • pull_to_location
      • quest_xp_multiplier
      • random_player
      • rapid_bows
      • reel_speed_multiplier
      • regen_multiplier
      • remove_boss_bar
      • remove_enchant
      • remove_item
      • remove_item_data
      • remove_potion_effect
      • repair_item
      • replace_near
      • rotate
      • *replant_crops
      • run_chain
      • run_command
      • run_player_command
      • sell_items
      • sell_multiplier
      • send_message
      • send_minimessage
      • send_title
      • set_armor_trim
      • set_block
      • set_custom_model_data
      • set_food
      • set_freeze_ticks
      • set_global_points
      • set_item_data
      • set_item_points
      • set_points
      • set_saturation
      • set_velocity
      • set_victim_velocity
      • shoot
      • shoot_arrow
      • shuffle_hotbar
      • skill_xp_multiplier
      • smite
      • spawn_entity
      • spawn_mobs
      • spawn_particle
      • spawn_potion_cloud
      • start_quest
      • strike_lightning
      • strip_ai
      • swarm
      • take_money
      • target_player
      • telekinesis
      • teleport
      • teleport_to
      • traceback
      • transmission
      • trigger_custom
      • update_boss_bar
      • victim_speed_multiplier
      • xp_multiplier
    • 所有变化
      • block_to_location
      • location_to_block
      • location_to_boss
      • location_to_cursor
      • location_to_player
      • location_to_projectile
      • player_as_victim
      • spin_location
      • spin_velocity
      • translate_location
      • victim_as_player
      • victim_to_owner
      • dispatcher_as_player
      • dispatcher_as_victim
    • 所有条件
      • above_balance
      • above_global_points
      • above_health_percent
      • above_hunger_percent
      • above_magic
      • above_points
      • above_xp_level
      • above_y
      • any_of
      • at_least_of
      • below_balance
      • below_global_points
      • below_health_percent
      • below_hunger_percent
      • below_magic
      • below_points
      • below_xp_level
      • below_y
      • can_afford_price
      • global_points_equal
      • has_active_job
      • has_active_pet
      • has_boss_bar_visible
      • has_completed_quest
      • has_completed_task
      • has_completed_advancement
      • has_ecoitem
      • has_item
      • has_item_data
      • has_job_level
      • has_mana
      • has_permission
      • has_pet_level
      • has_potion_effect
      • has_quest_active
      • has_reforge
      • has_scoreboard_visible
      • has_skill_level
      • has_talisman
      • in_air
      • in_biome
      • in_bubble
      • in_lava
      • in_mainhand
      • in_offhand
      • in_rain
      • in_region
      • in_water
      • in_world
      • is_booster_active
      • is_expression_true
      • is_falling
      • is_flying
      • is_frozen
      • is_gliding
      • is_night
      • is_op
      • is_sneaking
      • is_sprinting
      • is_wearing_set
      • item_data_equals
      • item_level_above
      • item_level_below
      • item_level_equals
      • item_points_above
      • item_points_below
      • item_points_equal
      • near_entity
      • on_fire
      • on_ground
      • placeholder_contains
      • placeholder_equals
      • placeholder_greater_than
      • placeholder_less_than
      • points_equal
      • riding_entity
      • standing_on_block
      • wearing_boots
      • wearing_chestplate
      • wearing_helmet
      • wearing_leggings
      • within_radius_of
    • 所有筛选
      • above_health_percent
      • advancements
      • blocks
      • damage_cause
      • entities
      • from_spawner
      • fully_charged
      • fully_grown
      • is_behind_victim
      • is_boss
      • is_expression_true
      • *is_passive
      • is_npc
      • item_durability_above
      • item_durability_above_percent
      • item_durability_below
      • item_durability_below_percent
      • items
      • job
      • magic_type
      • npc
      • on_max_health
      • pet
      • player_name
      • player_placed
      • potion_effect
      • projectiles
      • quest
      • region
      • shop_item
      • skill
      • task
      • text
      • text_contains
      • value_above
      • value_below
      • value_equals
      • victim_name
    • 所有触发器
    • 点数系统
    • 物品等级
    • 自定义参数
    • 自定义变量符
  • EcoEnchants
    • 指令和权限节点
    • 创建一个自定义魔咒
  • EcoItems
    • 指令和权限节点
    • 创建一个自定义物品
  • EcoSkills
    • 指令和权限节点
    • 创建一个自定义属性
    • 创建一个自定义能力
    • 创建一个自定义技能
  • EcoPets
    • 指令和权限节点
    • 创建一个自定义宠物
  • EcoJobs
    • 指令和权限节点
    • 创建一个自定义职业
由 GitBook 提供支持
在本页
  • 合成配方
  • 主体
  • 修饰
  • 自定义物品
  • *eco 物品
  • 第三方插件主动兼容
  • ShopGUIPlus
  • *MythicMobs

这有帮助吗?

  1. 通用信息

物品语句

不同于其他插件的物品配置选项相对固定,eco 提供了物品语句,你可以在需要填写物品的地方使用物品语句来“形容”你想要的物品。物品语句旨在尽可能简单的让你能够快速匹配出自己想要的物品,同时提供互联的作用。

*在何种地方该使用物品语句全凭你的感觉,只要你觉得这个地方应该填写物品的地方,那就多尝试用物品语句吧!

合成配方

在涉及物品的 eco 插件配置中,往往会有合成配方的选项,此时指代合成配方内的合成材料即需要使用此物品语句。

例如:

recipe:
    - ""
    - "ecoitems:toughened_string"
    - ""
    - ""
    - "netherite_chestplate"
    - ""
    - "ecoitems:arachnid_oculus"
    - ""
    - "ecoitems:arachnid_oculus"

这看似很复杂,实则不然,我们都知道,游戏内的合成是 9 格,这正好有 9 行的配置,每一行配置都代表对应的格子。前三行配置就是游戏中第一行的 3 个格子,以此类推,中间三行就是游戏中第二行的 3 个格子,后面三行就是游戏中第三行的 3 个格子。

主体

一个物品语句由空格分开的多个字符串组成,第一个字符串就是物品语句的主体。

主体有三种格式:

  • Minecraft 游戏中原版的物品:例如 golden_apple 代表金苹果。

  • *Minecraft 游戏中原版的物品前面再加上 * 符号,表示只要是这个原版物品都会认定为语句正确。例如在价格中使用 *apple,如果玩家手中的苹果是有自定义名称、Lore等情况,如果未带 * 则判定玩家没有足够的价格,如果带则有足够的价格。即模糊匹配。

  • 使用原版 json 格式的 NBT物品:例如 {id:"stone",Count:3,tag:{Name:"神奇石头"}} 代表一个显示名称为 神奇石头 的石头。

在主体中可以有多个物品,可以使用如下修饰符来分隔各个物品,并代表不同的意思:

  • 在两个物品之间使用 ? 符号,则代表前面的物品如果不存在,则使用后面的物品。

  • 在两个物品之间使用 || 符号,则代表前面的物品和后面的物品都可以使用。

在一个主体的后面可以添加数字,代表这个物品的数量,例如 string 64 代表 64 个线。

修饰

在主体后面跟着的就是物品的修饰,每个修饰之间使用空格分开,修饰仅能上文介绍的 3 种物品中的前 2 种使用,这个限制同样包括上文介绍的主体修饰符。修饰的作用在于给物品添加更多的详细信息,例如给头颅添加我需要的材质,给物品添加附魔等。

  • 附魔:给物品添加附魔,可以通过使用多个附魔修饰来实现该物品同时多个附魔。格式为 附魔id:附魔等级。

  • 头颅材质:设置头颅的自定义材质,需要原版物品为 player_head。格式为 texture:头颅 base64 码。

如何获取头颅 base64 码?

然后将它复制到你的头颅材质修饰符中。

  • *头颅玩家:设置头颅的材质为正版玩家的皮肤,需要原版物品为 player_head。格式为 head:玩家ID。

  • 重铸词条:使得该物品自带某个重铸词条。格式为 reforge:重铸id。

  • 名称:使得该物品名称修改为你所设置的值。格式为 name:物品名称。

  • 物品标签:给物品添加原版的物品标签,包括:HIDE_ATTRIBUTES:隐藏物品的属性信息(如+1攻击)。HIDE_DESTROYS:隐藏物品可以破坏的方块信息(在服务器中我们几乎不会用到这个,所以可以忽视)。 HIDE_DYE:隐藏物品的染色(如染色后的皮革盔甲)。HIDE_ENCHANTS:隐藏物品的附魔信息。 HIDE_PLACED_ON:隐藏方块可以放置到什么上面信息(同样在服务器中几乎用不到)。 HIDE_POTION_EFFECTS:隐藏药水信息(如1:00生命回复2)。HIDE_UNBREAKABLE:隐藏不可破坏(无限耐久)信息。

  • 不可破坏:添加该修饰后物品无耐久消耗。格式为:unbreakable。

  • 自定义模型:设置物品的自定义模型。格式为:custom-model-data:id。

  • *皮革颜色:设置皮革的颜色,需要原版物品为皮革系列。格式为 color:颜色码。

  • *盔甲纹饰:设置盔甲的纹饰,需要原版物品为盔甲。格式为 trim:物品ID:纹饰ID。

例如:ecoitems:enlightened_blade razor:4 unbreaking:3 criticals:2 fire_aspect:2 reforge:mighty unbreakable hide_attributes custom-model-data:2 中,每个字符串的作用如下:

  • 第一个为主体,代表 EcoItems 插件中的某个物品。

  • 第二个、第三个、第四个和第五个都是附魔,例如 unbreaking:3 代表耐久 3。

  • 第六个为重铸,该物品会自带 ID 为 mighty 的重铸。

  • 第七个为不可破坏。

  • 第八个为隐藏物品属性信息的原版标签。

  • 第九个为自定义模型是2。

自定义物品

*eco 物品

在其他插件(如 CustomCrafting)中,如果插件和 eco 兼容的话,是可以使用 eco 的物品语句的,就例如上文给了一个超级复杂的一个 EcoItems 的物品。对于开发者而言,可以直接通过 Items.lookup() 方法获得 TestableItem 对象,此对象又包括能够获得 ItemStack 对象的物品,非常好使用。

同时,eco 系列的插件的物品也会自己注册新的物品主体,除了上文所示的 EcoItems 外,还包括:

  • Talisman:直接填写护身符 ID 即可。

  • EcoArmor:不同的物品格式不同: 盔甲:set_套装ID_部位ID 高级盔甲:set_套装ID_部位ID_advanced 升级水晶:shard_水晶ID

第三方插件主动兼容

ShopGUIPlus

你可以在 ShopGUIPlus 中出售物品语句表达的物品。

例如:

type: item
item:
  eco: "ecoitems:holy_flesh"
  quantity: 1
sellPrice: 7500
slot: 27

*MythicMobs

你可以在 MythicMobs 设置掉落物品语句表达的物品。

例如:

Drops:
  - eco{item=ecoitems:enchanted_rotten_flesh} 1 0.07
上一页兼容插件下一页实体语句

最后更新于1年前

这有帮助吗?

来自其他插件的物品:例如 ecoitems:packmaster_tear 代表 EcoItems 中的一个此 ID 的物品。支持哪些插件可以在 一节查看。如果来自第三方的插件(如ItemsAdder)中的物品ID有 : 符号,请务必仔细阅读下文对此的特别介绍。

我推荐你前往 网站查找 自定义头颅(Custom Head),你可以在这里找到它的 meta(注意是自定义头颅不是玩家头颅!):

上文示例中使用了 EcoItems 作为物品主体,当使用其他插件时,可能存在物品ID中需要有 : 符号,这时候请将 : 符号替换为 __ (两个 _ 符号)。最典型的例子就是 ItemsAdder 了,例如 itemsadder:namespace__key。eco 支持很多自定义插件,你可以在 一节查看。

Reforges:格式为 stone_重铸ID,官方版本的有问题,可以尝试此 PR 修复。

兼容插件
Minecraft Player Head
关于 eco
https://github.com/Auxilor/Reforges/pull/34