Skip to content

Release v1.1.0

Latest

Choose a tag to compare

@puckypucky0 puckypucky0 released this 30 Oct 08:20

1.1.0 - One-shot effects, data particles and safer submit

  • Effects now render before their lifetime advances, so effects shorter
    than tick-interval are shown exactly once instead of never.
  • Added ParticleEffect.data for particles that need extra data
    (BLOCK, DUST_PILLAR, SHRIEK, TRAIL...). It is passed to spawnParticle.
  • submit() rejects effects with a null shape, origin, gradient or particle,
    and effects whose data doesn't match the particle's data type.
  • An exception while rendering removes only that effect instead of
    stopping the whole tick.
  • Effect limit warnings are logged at most once every 5 seconds.
  • Gradient.fromHex throws a clear IllegalArgumentException for invalid hex;
    added Gradient.isValidHex.