Closed MrHell228 closed 4 months ago
SpongeAPI | Sponge
ForwardingViewer is some kind of extension of kyori ForwardingAudience idea to sponge Viewer
ForwardingViewer
ForwardingAudience
Viewer
ForwardingViewer:
of(viewersSupplier)
of(Collection<Viewer>)
of(Viewer...)
allAround(world, center, radius)
allAround(entity, radius)
Viewer:
spawnParticles()
(x, y, z)
spawnParticles
playMusicDisc
stopMusicDisc
(position)
SpongeAPI | Sponge
ForwardingViewer
is some kind of extension of kyoriForwardingAudience
idea to spongeViewer
ForwardingViewer:
of(viewersSupplier)
is general method to support basically any custom viewersof(Collection<Viewer>)
andof(Viewer...)
are easy shortcuts for static groups of viewersallAround(world, center, radius)
andallAround(entity, radius)
are dynamicViewer:
spawnParticles()
that took radius(x, y, z)
variants forspawnParticles
,playMusicDisc
andstopMusicDisc
, made their(position)
variants defaulted