Class VoiceWallOcclusionEvent

java.lang.Object
org.bukkit.event.Event
fr.dreamin.dreamapi.api.event.ToolsEvent
fr.dreamin.dreamapi.api.event.ToolsCancelEvent
fr.dreamin.dreamvoice.api.wall.event.VoiceWallOcclusionEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public final class VoiceWallOcclusionEvent extends fr.dreamin.dreamapi.api.event.ToolsCancelEvent
Event fired during VoiceWall acoustic raycasting between a sender and receiver. Canceling this event bypasses acoustic occlusion (making sound 100% direct and unattenuated).
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    VoiceWallOcclusionEvent(@NotNull VPlayer sender, @NotNull VPlayer receiver, double originalLossDb, double lossDb, boolean blocked)
     
  • Method Summary

    Methods inherited from class fr.dreamin.dreamapi.api.event.ToolsCancelEvent

    isCancelled, setCancelled

    Methods inherited from class fr.dreamin.dreamapi.api.event.ToolsEvent

    getHandlerList, getHandlers

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VoiceWallOcclusionEvent

      public VoiceWallOcclusionEvent(@NotNull @NotNull VPlayer sender, @NotNull @NotNull VPlayer receiver, double originalLossDb, double lossDb, boolean blocked)