Repository navigation
Clicks, animation events and a new module name.
New
- Clickable hitboxes:
display.hitbox(1f, 0.5f).onClick(click -> ...). Left and right click, runs on the main thread. Vanilla interaction entities, sent as packets - Animation events:
animation.event(10, "click")anddisplay.onEvent(event -> ...). Play a sound or particles at the exact tick. Works throughthen,withandloop motion.debug(true)logs where every click goes- Blockbench import merges cubes that touch and drops cubes hidden inside others, so models with many cubes need fewer entities
- Anonymous usage stats with bStats. Turn them off with
DisplayMotion.create(plugin, false), or for the whole server inplugins/bStats/config.yml
Example plugin
/dm showcasespawns everything at once in a half circle. Click the models to switch their animation/dm button: right click presses it with a click sound, left click breaks it- New robot and windmill models
Breaking: the module is renamed
The packetevents module is now paper. The package is now org.jan1k.displaymotion.paper.
repositories { maven("https://jitpack.io") }
dependencies { implementation("com.github.Jan1k1.displaymotion:displaymotion-paper:v0.2.0") }You still need the PacketEvents plugin on the server and depend: [packetevents] in plugin.yml.
Try it on a server
- Paper 26.3 and Java 25
- Put PacketEvents 2.14.0 or newer in
plugins - Put
displaymotion-example-0.2.0.jarfrom below inplugins /dm showcase
Docs: displaymotion.peakstone.app, AI tools: llms.txt
Java Edition only. Bug reports and ideas are very welcome, open an issue. A star helps a lot :)