net.minecraft.network

public interface PacketSendListener

vw
net.minecraft.network.PacketSendListener
net.minecraft.class_7648
net.minecraft.network.PacketCallbacks
net.minecraft.network.PacketSendListener

Method summary

Modifier and TypeMethod
static PacketSendListener
a(Runnable arg0)
thenRun(Runnable arg0)
method_45084(Runnable arg0)
always(Runnable runnable)
static PacketSendListener
a(Supplier<yw<?>> arg0)
exceptionallySend(Supplier<Packet<?>> arg0)
method_45085(Supplier<class_2596<?>> arg0)
of(Supplier<Packet<?>> failurePacket)
default void
a()
onSuccess()
method_45083()
onSuccess()
default Packet<?>
b()
onFailure()
method_45086()
getFailurePacket()