Interface EntitySoundPacket.Builder<T extends EntitySoundPacket.Builder<T>>

Type Parameters:
T - the builder itself
All Superinterfaces:
SoundPacket.Builder<T,EntitySoundPacket>
Enclosing interface:
EntitySoundPacket

public static interface EntitySoundPacket.Builder<T extends EntitySoundPacket.Builder<T>> extends SoundPacket.Builder<T,EntitySoundPacket>
A builder to build an entity sound packet. NOTE: Some values are required to be set.
  • Method Details Link icon

    • entityUuid Link icon

      T entityUuid(UUID entityUuid)
      This is required to be set!
      Parameters:
      entityUuid - the UUID of the entity
      Returns:
      the builder
    • whispering Link icon

      T whispering(boolean whispering)
      Parameters:
      whispering - if the entity should be whispering
      Returns:
      the builder
    • distance Link icon

      T distance(float distance)
      Parameters:
      distance - the distance, this packet can be heard
      Returns:
      the builder