Interface Facet.EntitySound<V,​M>

  • Type Parameters:
    V - viewer type
    M - sound packet type
    All Superinterfaces:
    Facet<V>
    Enclosing interface:
    Facet<V>

    public static interface Facet.EntitySound<V,​M>
    extends Facet<V>
    Create a sound that follows a certain entity.
    Since:
    4.0.0
    • Method Detail

      • createForSelf

        M createForSelf​(V viewer,
                        @NotNull net.kyori.adventure.sound.Sound sound)
      • createForEmitter

        M createForEmitter​(@NotNull net.kyori.adventure.sound.Sound sound,
                           @NotNull net.kyori.adventure.sound.Sound.Emitter emitter)
      • playSound

        void playSound​(@NotNull
                       V viewer,
                       M message)