-
Method Summary
Start receiving in a certain frequency.
default void
Stop listening in a certain frequency
static boolean
static boolean
static boolean
static boolean
Methods inherited from interface com.codinglitch.simpleradio.core.central.Frequencing
appendTooltip, getDefaultFrequency, getDefaultModulation, getFrequency, getFrequency, setFrequency, setFrequency, setFrequency, tick, validate, validate
-
Method Details
-
-
validateReceiver
static boolean validateReceiver(UUID uuid,
@Nullable
@Nullable Frequency frequency)
-
validateReceiver
static boolean validateReceiver(de.maxhenkel.voicechat.api.VoicechatConnection connection,
@Nullable
@Nullable Frequency frequency)
-
validateReceiver
static boolean validateReceiver(net.minecraft.server.level.ServerPlayer player,
@Nullable
@Nullable Frequency frequency)
-
startReceiving
Start receiving in a certain frequency.
- Parameters:
frequencyName - the frequency to listen to
modulation - the modulation type of the frequency
owner - the UUID that will listen
- Returns:
- The channel created from the listener.
-
stopReceiving
Stop listening in a certain frequency
- Parameters:
frequencyName - the frequency to stop listening to
modulation - the modulation type of the frequency
owner - the UUID to remove