-
Method Summary
Start transmitting in a certain frequency.
Start transmitting in a certain frequency.
default void
Stop listening in a certain frequency.
Methods inherited from interface com.codinglitch.simpleradio.central.Frequencing
appendTooltip, calculateAntennaPower, getAntennaBase, getAntennaPower, getDefaultFrequency, getDefaultModulation, getFrequency, getFrequency, markDirty, setFrequency, setFrequency, setFrequency, tick, validateLocation, validateLocation
-
Method Details
-
startTransmitting
Start transmitting in a certain frequency.
- Parameters:
location - the location to transmit from
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.
-
-
-
startTransmitting
Start transmitting in a certain frequency.
- Parameters:
entity - the Entity to transmit from
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.
-
-
startTransmitting
default Transmitter startTransmitting(net.minecraft.world.entity.Entity entity,
Frequency frequency)
-
stopTransmitting
Stop listening in a certain frequency.
This will remove the transmitter 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