1. Wiki
  2. /方块
  3. /minecraft:destruction_particles

minecraft:destruction_particles

不想手写?在 GodCraft 里打开一个开关,就能帮你设置好 minecraft:destruction_particles。Get GodCraft

概览

minecraft:destruction_particles 是一个方块组件:写在自定义方块的 components 对象中。 设置方块被破坏时飞出的小碎片。

字段

字段类型默认值说明
texturestring""碎片使用的纹理名称(来自 terrain_texture.json)。
tint_methodTint Method"none"碎片如何根据生物群系着色,例如 "grass" 或 "default_foliage"。用 "none" 保留纹理原本的颜色。
particle_countinteger100方块破坏时出现多少碎片。范围:0 到 255

示例

写在 BP/blocks/<name>.json 的 components 对象中(值为默认值或占位值):

BP/blocks/<name>.json
{
  "minecraft:destruction_particles": {
    "texture": "",
    "tint_method": "none",
    "particle_count": 100
  }
}

方块: 行为包

We use cookies to improve your experience and analyse site traffic. Learn more