Class Speaker
java.lang.Object
fr.dreamin.dreamvoice.api.speaker.model.Speaker
Model representing a 3D locational speaker in the Minecraft world.
Supports dual channels (speech + music), static or mobile entity attachment, and access controls.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Speaker.Builderbuilder()void@NotNull VoiceLocationbooleanbooleanisSpeakerAllowed(@NotNull UUID speakerUuid) voidlinkSpeaker(@NotNull UUID playerUuid) voidvoidunlinkSpeaker(@NotNull UUID playerUuid) voidupdateDistance(@NotNull Float distance) voidupdateFilter(@Nullable Predicate<de.maxhenkel.voicechat.api.ServerPlayer> filter) voidupdatePosition(@NotNull VoiceLocation location)
-
Method Details
-
isSpeakerAllowed
-
linkSpeaker
-
unlinkSpeaker
-
clearAllowedSpeakers
public void clearAllowedSpeakers() -
getAllowedSpeakers
-
stopPlaying
public void stopPlaying() -
isPlaying
public boolean isPlaying() -
getLocation
-
updatePosition
-
updateDistance
-
updateFilter
public void updateFilter(@Nullable @Nullable Predicate<de.maxhenkel.voicechat.api.ServerPlayer> filter) -
builder
-