Interface Speaking

All Superinterfaces:
Auricular
All Known Implementing Classes:
RadioBlock, RadioBlockEntity, SpeakerBlock, SpeakerBlockEntity, SpeakerItem, TransceiverItem, WalkieTalkieItem

public interface Speaking extends Auricular
  • Method Details

    • startSpeaking

      default Speaker startSpeaking(net.minecraft.world.entity.Entity owner, @Nullable @Nullable UUID id)
      Start speaking in the world.
      Parameters:
      owner - the Entity that will speak
      id - the UUID of the speaker
      Returns:
      The speaker created.
    • startSpeaking

      default Speaker startSpeaking(WorldlyPosition location, @Nullable @Nullable UUID id)
      Start speaking in the world.
      Parameters:
      location - the location to speak at
      id - the UUID of the speaker
      Returns:
      The speaker created.
    • setupSpeaker

      default Speaker setupSpeaker(Speaker speaker)
    • stopSpeaking

      default void stopSpeaking(UUID reference, boolean isClient)
      Stop speaking in the world. This will remove the speaker from both global and specific router maps.
      Parameters:
      reference - the UUID of the router that will stop speaking