Uses of Interface
net.minecraft.network.PacketCallbacks
-
Uses of PacketCallbacks in net.minecraft.network
Modifier and TypeFieldDescription(package private) final @Nullable PacketCallbacks
ClientConnection.QueuedPacket.callbacks
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) private void
ClientConnection.sendImmediately
(Packet<?> packet, @Nullable PacketCallbacks callbacks) private void
ClientConnection.sendInternal
(Packet<?> packet, @Nullable PacketCallbacks callbacks, NetworkState packetState, NetworkState currentState) ModifierConstructorDescriptionQueuedPacket
(Packet<?> packet, @Nullable PacketCallbacks callbacks) -
Uses of PacketCallbacks in net.minecraft.server.network
Modifier and TypeMethodDescriptionvoid
ServerPlayNetworkHandler.sendPacket
(Packet<?> packet, @Nullable PacketCallbacks callbacks)