Class BotPacketPreReceiveEvent
java.lang.Object
com.soulfiremc.server.api.event.bot.BotPacketPreReceiveEvent
- All Implemented Interfaces:
SoulFireBotEvent
,SoulFireEvent
,SoulFireGlobalEvent
,SoulFireInstanceEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBotPacketPreReceiveEvent
(BotConnection connection, @Nullable net.minecraft.network.protocol.Packet<?> packet) -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.network.protocol.Packet
<?> packet()
@NotNull BotPacketPreReceiveEvent
packet
(@Nullable net.minecraft.network.protocol.Packet<?> packet) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.soulfiremc.server.api.event.SoulFireBotEvent
instanceManager
Methods inherited from interface com.soulfiremc.server.api.event.SoulFireInstanceEvent
soulFireServer
-
Constructor Details
-
BotPacketPreReceiveEvent
public BotPacketPreReceiveEvent(BotConnection connection, @Nullable net.minecraft.network.protocol.Packet<?> packet)
-
-
Method Details
-
connection
- Specified by:
connection
in interfaceSoulFireBotEvent
-
packet
public @Nullable net.minecraft.network.protocol.Packet<?> packet() -
packet
@NotNull public @NotNull BotPacketPreReceiveEvent packet(@Nullable net.minecraft.network.protocol.Packet<?> packet) - Returns:
this
.
-