Interface Facet.Sound<V,P>
- Type Parameters:
V
- a viewer typeP
- a position type
- All Superinterfaces:
Facet<V>
,Facet.Position<V,
P>
A facet that plays and stops sounds.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.platform.facet.Facet
Facet.ActionBar<V,
M>, Facet.Book<V, M, B>, Facet.BossBar<V>, Facet.BossBarEntity<V, P>, Facet.BossBarPacket<V>, Facet.Chat<V, M>, Facet.ChatPacket<V, M>, Facet.EntitySound<V, M>, Facet.FakeEntity<V, P>, Facet.Message<V, M>, Facet.Pointers<V>, Facet.Position<V, P>, Facet.Sound<V, P>, Facet.TabList<V, M>, Facet.Title<V, M, C, T>, Facet.TitlePacket<V, M, C, T> -
Method Summary
Methods inherited from interface net.kyori.adventure.platform.facet.Facet
isApplicable, isSupported
Methods inherited from interface net.kyori.adventure.platform.facet.Facet.Position
createPosition, createPosition
-
Method Details
-
playSound
Plays a sound.- Parameters:
viewer
- a viewersound
- a soundposition
- a position- Since:
- 4.0.0
-
stopSound
Stops a sound.- Parameters:
viewer
- a viewersound
- a sound stop- Since:
- 4.0.0
-