Class ServerResourcePackSendEvent

  • All Implemented Interfaces:
    ResultedEvent<ResultedEvent.GenericResult>

    @AwaitingEvent
    public class ServerResourcePackSendEvent
    extends Object
    implements ResultedEvent<ResultedEvent.GenericResult>
    This event is fired when the downstream server tries to send a player a ResourcePack packet. The proxy will wait on this event to finish before forwarding the resource pack to the user. If this event is denied, it will retroactively send a DENIED status to the downstream server in response. If the downstream server has it set to "forced" it will forcefully disconnect the user.