Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Particle format

From SAS Gaming Wiki
(Redirected from Minecraft:Particle Format)

Template:Exclusive When particles are spawned using the Template:Cmd command, by biomes or enchantments, they can be configured using Minecraft:NBT or Minecraft:JSON data.

Usage

When referenced from a biome or enchantment definition, a particle is defined using:

Configurations of particle types

Some particle types have configurations that need to be specified. These types and the configuration fields are:

  • dust
    • Template:NbtTemplate:Nbt: Three floats representing the red, green, and blue components of the dust color. Each value must be between 0 and 1. Can alternatively be an rgb packed integer.
    • Template:Nbt: Controls the size scale multiplier and lifetime multiplier of the particle. The particle's lifetime is a random integer from 8 to 40 game ticks, then multiplied by this scale value, with a minimum of 0.01 and a maximum of 4.
  • dust_color_transition
    • Template:Nbt: Three floats representing the red, green, and blue components of the start color. Each should be from 0 to 1. If any color value is less than 0 or higher than 1, the particle color has undefined behavior.
    • Template:Nbt: Three floats representing the red, green, and blue components of the end color. Each should be from 0 to 1. If any color value is less than 0 or higher than 1, the particle color has undefined behavior.
    • Template:Nbt: Controls the size scale multiplier and lifetime multiplier of the particle. The particle's lifetime is a random integer from 8 to 40 game ticks, then multiplied by this scale value, with a minimum of 0.01 and a maximum of 4.
  • trail
    • Template:Nbt: The coordinates the trail particles will go to.
    • Template:Nbt: The particle color, as an RGB integer.
    • Template:Nbt: The number of ticks the particle will take to travel to the target.

All other types don't have any configuration.

History

Template:HistoryTable

See also

Navigation

Template:Navbox Java Edition technical Template:Navbox particles

Minecraft:de:Partikeldaten Minecraft:fr:Format de particule Minecraft:ko:입자 형식 Minecraft:pt:Formato de partícula Minecraft:uk:Формат частинок Minecraft:zh:粒子数据格式