Class EventPacket

java.lang.Object
org.rusherhack.core.event.type.Event
org.rusherhack.core.event.type.EventCancellable
org.rusherhack.client.api.events.network.EventPacket
All Implemented Interfaces:
org.rusherhack.core.event.stage.IStageable
Direct Known Subclasses:
EventPacket.Receive, EventPacket.Send

public abstract class EventPacket extends org.rusherhack.core.event.type.EventCancellable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    This event is called when a packet is being received from the server.
    static class 
    This event is called when a packet is being sent to the server.
  • Constructor Summary

    Constructors
    Constructor
    Description
    EventPacket(net.minecraft.network.protocol.Packet<?> packet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.protocol.Packet<?>
     
    org.rusherhack.core.event.stage.Stage
     

    Methods inherited from class org.rusherhack.core.event.type.EventCancellable

    isCancelled, setCancelled

    Methods inherited from class org.rusherhack.core.event.type.Event

    getStage, setStage

    Methods inherited from class java.lang.Object

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

    • EventPacket

      public EventPacket(net.minecraft.network.protocol.Packet<?> packet)
  • Method Details

    • getPreferredStage

      public org.rusherhack.core.event.stage.Stage getPreferredStage()
      Overrides:
      getPreferredStage in class org.rusherhack.core.event.type.Event
    • getPacket

      public net.minecraft.network.protocol.Packet<?> getPacket()