概览
minecraft:knockback_resistance 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 减少实体被击中时被击退的距离。值为 1 表示永远不会被击退。
示例
写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):
BP/entities/<name>.json
{
"minecraft:knockback_resistance": {}
}We use cookies to improve your experience and analyse site traffic. Learn more