Class VoiceProjection
java.lang.Object
fr.dreamin.dreamvoice.api.projection.model.VoiceProjection
Model representing a voice projection / body anchor for a player.
Allows remote voice emission and remote environmental hearing (e.g. security cameras, drones, intercoms).
-
Constructor Summary
ConstructorsConstructorDescriptionVoiceProjection(@NotNull UUID uuid, @NotNull UUID playerUuid, @NotNull org.bukkit.Location anchorLocation) VoiceProjection(@NotNull UUID playerUuid, @NotNull org.bukkit.Location anchorLocation) VoiceProjection(@NotNull UUID playerUuid, @NotNull org.bukkit.entity.Entity anchorEntity) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.LocationResolves the current anchor coordinates, dynamically tracking the attached entity if valid.
-
Constructor Details
-
Method Details
-
getAnchorLocation
@NotNull public @NotNull org.bukkit.Location getAnchorLocation()Resolves the current anchor coordinates, dynamically tracking the attached entity if valid.- Returns:
- the active location of the anchor
-