Saltar al contenido principal

Fragment Collection Config

Global fragment collection settings

Campos

CampoTipoPredeterminadoDescripción
artifactIdStringfragment_storageartifactId of the Fragment Storage artifact that stores the collected fragments. Empty = the first Fragment Storage artifact found.
defaultFragmentItemItem—Item used for a fragment that has neither a custom item nor a usable display item. If this one is empty too, the fragment cannot be collected by picking up an item.
fragmentFoundSoundSound—Sound played when a fragment is collected.
groupCompletedSoundSound—Sound played when all fragments in a group are collected.
fragmentFoundParticlesList<Particle>—Particles spawned when a fragment is found.
groupCompletedParticlesList<Particle>—Particles spawned when a group is completed.
particleCountInt10Number of particles spawned per particle type, around the player's head. 0 = no particles.
particleSpreadDouble0.5Spread of the particles, in blocks, around the player's head.

How to use it​

Only one entry is expected. Without it, picking up a fragment plays no sound and no particle.

  • Sounds — fragmentFoundSound plays when a fragment is collected and groupCompletedSound when a group is completed, before the onFound and onCompleted triggers.
  • Particles — fragmentFoundParticles and groupCompletedParticles appear around the player's head. particleCount (default 10, 0 = none) is the number spawned per particle type and particleSpread (default 0.5) their spread in blocks. A particle type that needs extra data (dust, block...) writes a warning in the console and is skipped.
  • defaultFragmentItem — the item used for a fragment that has neither a customItem nor a usable displayItem.
  • artifactId — the artifactId of the Fragment Storage artifact that stores the fragments. Empty, or an id that no artifact has, uses the first Fragment Storage artifact found (an unknown id also writes a warning).