Skip to main content
Duck Blocks wiki

Wiki

Duck Blocks Wiki

In-world machines, trigger systems, moving structures, redstone logic, and the public Duck Blocks authoring workflow.

Getting Started

Start here for first boot, the file split, server-wide defaults, and the real saved trigger shape.

Placeholders and Context

Understand player context, built-in tokens, and how Duck Blocks hands finished commands into the rest of the server.

YML File Guides

Jump straight into the reusable preset files that make a large Duck Blocks library maintainable.

Runtime and Troubleshooting

Understand what gets saved, what the carry logs mean, and how to troubleshoot live Duck Blocks cleanly.

YML File Guides

Animations YML: Motion Presets and When to Use Them

Use animations.yml as a motion library instead of rebuilding the same float, pop, and spin patterns by hand.

animations.yml is the reusable motion library. It exists so you can name a movement style once and then reuse it across many blocks instead of rebuilding every float or spin by hand.

What the preset library is for

Use animations.yml when you want consistency across many props:

  • the same hover on every collectible
  • the same nearby spin on every energy core
  • the same activate-pop on every premium button

That keeps the map readable and makes tuning much easier.

The main animation types

The live preset library revolves around:

  • FLOAT
  • POP
  • SPIN

The main animation modes

The live preset library also uses:

  • ALWAYS
  • NEARBY
  • ACTIVATE

That is the real authoring choice:

  • ALWAYS when the prop should constantly feel alive
  • NEARBY when the motion should wake up only around players
  • ACTIVATE when the motion is part of the trigger event itself

Example preset

YAML
presets:
  float_always_a050_p160:
    name: "Float - Always - a=0.05 p=160t"
    icon: FEATHER
    type: FLOAT
    mode: ALWAYS
    amplitude: 0.05
    periodTicks: 160

This is the right kind of preset for a calm, always-on hover.

How to pick the important numbers

amplitude

This is how far the motion travels.

  • small amplitude for premium polish
  • larger amplitude for magical or exaggerated props

periodTicks

This is how fast the cycle feels.

  • shorter periods feel more active
  • longer periods feel smoother and calmer

range

Use this for nearby-only behavior so distant props do not animate unnecessarily.

speed

This matters most for spin and more noticeable motion styles.

Naming presets well

Your live preset library already uses a very practical pattern:

  • motion family
  • mode
  • a compact numeric summary

Keep that idea. It scales well when the library becomes large.

Good preset families to keep

  • one calm always-float family
  • one stronger magical float family
  • one nearby spin family
  • one activate pop family

That is enough to make a large server feel consistent before you create dozens of niche presets.

Best next pages