Interface Receiving

All Superinterfaces:
Frequencing
All Known Implementing Classes:
RadioBlock, RadioBlockEntity, ReceiverBlock, ReceiverBlockEntity, TransceiverItem, WalkieTalkieItem

public interface Receiving extends Frequencing
  • Method Details

    • startReceiving

      default Receiver startReceiving(WorldlyPosition location, String frequencyName, Frequency.Modulation modulation, UUID id)
      Start receiving in a certain frequency.
      Parameters:
      location - the location to receive at
      frequencyName - the frequency to listen to
      modulation - the modulation type of the frequency
      id - the UUID that will listen
      Returns:
      The channel created from the listener.
    • startReceiving

      default Receiver startReceiving(WorldlyPosition location, Frequency frequency)
    • startReceiving

      default Receiver startReceiving(WorldlyPosition location, Frequency frequency, UUID id)
    • startReceiving

      default Receiver startReceiving(net.minecraft.world.entity.Entity entity, String frequencyName, Frequency.Modulation modulation, UUID id)
      Start receiving in a certain frequency.
      Parameters:
      entity - the Entity to receive at
      frequencyName - the frequency to listen to
      modulation - the modulation type of the frequency
      id - the UUID that will listen
      Returns:
      The channel created from the listener.
    • startReceiving

      default Receiver startReceiving(net.minecraft.world.entity.Entity entity, Frequency frequency)
    • startReceiving

      default Receiver startReceiving(net.minecraft.world.entity.Entity entity, Frequency frequency, UUID id)
    • stopReceiving

      default void stopReceiving(String frequencyName, Frequency.Modulation modulation, UUID reference, boolean isClient)
      Stop listening in a certain frequency. This will remove the receiver from both global and specific router maps.
      Parameters:
      frequencyName - the frequency to stop listening to
      modulation - the modulation type of the frequency
      reference - the UUID to remove