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 RadioSpeaker 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 RadioSpeaker 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 RadioSpeaker setupSpeaker(RadioSpeaker speaker)
    • stopSpeaking

      default void stopSpeaking(UUID owner, boolean isClient)
      Stop speaking in the world.
      Parameters:
      owner - the Entity that will stop speaking
      isClient - if to remove in client
    • stopSpeaking

      default void stopSpeaking(WorldlyPosition location)
      Stop speaking in the world.
      Parameters:
      location - the location of the speaker to remove
    • stopSpeaking

      default void stopSpeaking()
      Stop speaking in the world. Infers information from itself.