Package org.spongepowered.api.effect
Interface ForwardingViewer
- All Superinterfaces:
Audience
,ForwardingAudience
,Pointered
,Viewer
- All Known Subinterfaces:
ClientWorld
,ServerWorld
,World<W,
L>
ForwardingViewer represents some group of
Viewer
s-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience
ForwardingAudience.Single
-
Method Summary
Modifier and TypeMethodDescriptionstatic ForwardingViewer
CreatesForwardingViewer
that will only affect viewers in the given radius from the given entity.static ForwardingViewer
CreatesForwardingViewer
that will only affect viewers in the given area of the given world.static ForwardingViewer
of
(Collection<? extends Viewer> viewers) CreatesForwardingViewer
from provided viewers.static ForwardingViewer
CreatesForwardingViewer
from provided viewers supplier.static ForwardingViewer
CreatesForwardingViewer
from provided viewers.Methods inherited from interface net.kyori.adventure.audience.Audience
deleteMessage, openBook, removeResourcePacks, removeResourcePacks, removeResourcePacks, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, showTitle, stopSound
Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience
clearResourcePacks, clearTitle, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendTitlePart, showBossBar, stopSound
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom
Methods inherited from interface org.spongepowered.api.effect.Viewer
playMusicDisc, playMusicDisc, playSound, resetBlockChange, resetBlockChange, resetBlockProgress, resetBlockProgress, sendBlockChange, sendBlockChange, sendBlockProgress, sendBlockProgress, sendWorldType, spawnParticles, spawnParticles, stopMusicDisc, stopMusicDisc
-
Method Details
-
audiences
- Specified by:
audiences
in interfaceForwardingAudience
-
of
CreatesForwardingViewer
from provided viewers supplier.- Parameters:
viewersSupplier
- The viewers supplier- Returns:
- The forwarding viewer
-
of
CreatesForwardingViewer
from provided viewers.- Parameters:
viewers
- The viewers- Returns:
- The forwarding viewer
-
of
CreatesForwardingViewer
from provided viewers.- Parameters:
viewers
- The viewers- Returns:
- The forwarding viewer
-
allAround
CreatesForwardingViewer
that will only affect viewers in the given area of the given world.- Parameters:
world
- The worldcenter
- The center of the arearadius
- The radius of the area- Returns:
- The forwarding viewer
-
allAround
CreatesForwardingViewer
that will only affect viewers in the given radius from the given entity.- Parameters:
entity
- The entityradius
- The radius- Returns:
- The forwarding viewer
-