手册:minecraft:shooter

来自Minecraft基岩版开发Wiki
数据驱动 实体 > minecraft:shooter
minecraft:shooter
附加包组件
组件所属
组件类型
组件ID
184150118
加入版本
?

模式[编辑]

shooter:
object "minecraft:shooter" : opt
{
    int "aux_val" : opt
    string "def"
}

结构[编辑]

枚举值[编辑]

药水ID[编辑]

药水列表
键名 接口字符串 对应的状态效果 对应的变体 描述
名称ID 描述ID前缀 名称ID 放大率 持续时间(刻)
Water 0 water 空字符串 基底(26)
Mundane 1 mundane mundane 基底(26)
LongMundane 2 long_mundane mundane.extended 基底(26)
Thick 3 thick thick 基底(26)
Awkward 4 awkward awkward 基底(26)
Nightvision 5 nightvision nightVision night_vision 0 3600 夜视(15)
LongNightvision 6 long_nightvision nightVision night_vision 0 9600 夜视(15)
Invisibility 7 invisibility invisibility invisibility 0 3600 隐身(13)
LongInvisibility 8 long_invisibility invisibility invisibility 0 9600 隐身(13)
Leaping 9 leaping jump jump_boost 0 3600 跳跃(7)
LongLeaping 10 long_leaping jump jump_boost 0 9600 跳跃(7)
StrongLeaping 11 strong_leaping jump jump_boost 1 1800 跳跃(7)
FireResistance 12 fire_resistance fireResistance fire_resistance 0 3600 抗火(11)
LongFireResistance 13 long_fire_resistance fireResistance fire_resistance 0 9600 抗火(11)
Swiftness 14 swiftness moveSpeed speed 0 3600 迅捷(1)
LongSwiftness 15 long_swiftness moveSpeed speed 0 9600 迅捷(1)
StrongSwiftness 16 strong_swiftness moveSpeed speed 1 1800 迅捷(1)
Slowness 17 slowness moveSlowdown slowness 0 1800 迟缓(0)
LongSlowness 18 long_slowness moveSlowdown slowness 0 4800 迟缓(0)
WaterBreathing 19 water_breathing waterBreathing water_breathing 0 3600 水肺(12)
LongWaterBreathing 20 long_water_breathing waterBreathing water_breathing 0 9600 水肺(12)
Healing 21 healing heal instant_health 0 1 治疗(5)
StrongHealing 22 strong_healing heal instant_health 1 1 治疗(5)
Harming 23 harming harm instant_damage 0 1 伤害(6)
StrongHarming 24 strong_harming harm instant_damage 1 1 伤害(6)
Poison 25 poison poison poison 0 900 剧毒(18)
LongPoison 26 long_poison poison poison 0 2400 剧毒(18)
StrongPoison 27 strong_poison poison poison 1 450 剧毒(18)
Regeneration 28 regeneration regeneration regeneration 0 900 再生(9)
LongRegeneration 29 long_regeneration regeneration regeneration 0 2400 再生(9)
StrongRegeneration 30 strong_regeneration regeneration regeneration 1 450 再生(9)
Strength 31 strength damageBoost strength 0 3600 力量(4)
LongStrength 32 long_strength damageBoost strength 0 9600 力量(4)
StrongStrength 33 strong_strength damageBoost strength 1 1800 力量(4)
Weakness 34 weakness weakness weakness 0 1800 虚弱(17)
LongWeakness 35 long_weakness weakness weakness 0 4800 虚弱(17)
Wither 36 wither wither wither 1 800 衰变(19)
TurtleMaster 37 turtle_master turtleMaster slowness 3 400 神龟(24)
turtleMaster2 resistance 2 400
LongTurtleMaster 38 long_turtle_master turtleMaster slowness 3 800 神龟(24)
turtleMaster2 resistance 2 800
StrongTurtleMaster 39 strong_turtle_master turtleMaster slowness 5 400 神龟(24)
turtleMaster2 resistance 3 400
SlowFalling 40 slow_falling slowFalling slow_falling 0 1800 缓降(25)
LongSlowFalling 41 long_slow_falling slowFalling slow_falling 0 4800 缓降(25)
StrongSlowness 42 strong_slowness moveSlowdown slowness 3 400 迟缓(0)

示例[编辑]

"minecraft:shooter": {
  "aux_val": -1,
  "def": "minecraft:small_fireball"
}

历史[编辑]

基岩版
?加入了minecraft:shooter

漏洞[编辑]

关于minecraft:shooter的漏洞在国际版中由漏洞追踪器维护,请在此报告漏洞。

注释[编辑]

  1. 所填写的实体需带有minecraft:projectile组件,否则将仅生成于该实体正前方且不会以一定初速度发射。