Uses of Interface
net.minecraft.network.PacketCallbacks
-
Uses of PacketCallbacks in net.minecraft.network
Modifier and TypeMethodDescriptionstatic PacketCallbacks
Returns a callback that always runsrunnable
.static PacketCallbacks
Returns a callback that sendsfailurePacket
when failed.Modifier and TypeMethodDescriptionvoid
ClientConnection.send
(Packet<?> packet, @Nullable PacketCallbacks callbacks) void
ClientConnection.send
(Packet<?> packet, @Nullable PacketCallbacks callbacks, boolean flush) private void
ClientConnection.sendImmediately
(Packet<?> packet, @Nullable PacketCallbacks callbacks, boolean flush) private void
ClientConnection.sendInternal
(Packet<?> packet, @Nullable PacketCallbacks callbacks, boolean flush) -
Uses of PacketCallbacks in net.minecraft.server.network
Modifier and TypeMethodDescriptionvoid
ServerCommonNetworkHandler.send
(Packet<?> packet, @Nullable PacketCallbacks callbacks)