ServerboundConfigurationAcknowledgedPacket .java

net.minecraft.network.protocol.game.ServerboundConfigurationAcknowledgedPacket (class): members: isTerminal, INSTANCE, handle, STREAM_CODEC, type.

net.minecraft.network.protocol.gameclass29 linescommon971 B

Implements

API Surface (3)

PacketType<ServerboundConfigurationAcknowledgedPacket> type()
void handle(final ServerGamePacketListener listener)
boolean isTerminal()

Fields & Constants (2)

INSTANCE
STREAM_CODEC

Same Package (197)

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ServerboundConfigurationAcknowledgedPacket.java29 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.network.protocol.game;
2
3
import io.netty.buffer.ByteBuf;
4
import net.minecraft.network.codec.StreamCodec;
5
import net.minecraft.network.protocol.Packet;
6
import net.minecraft.network.protocol.PacketType;
7
8
public class ServerboundConfigurationAcknowledgedPacket implements Packet<ServerGamePacketListener> {
9
	public static final ServerboundConfigurationAcknowledgedPacket INSTANCE = new ServerboundConfigurationAcknowledgedPacket();
10
	public static final StreamCodec<ByteBuf, ServerboundConfigurationAcknowledgedPacket> STREAM_CODEC = StreamCodec.unit(INSTANCE);
11
12
	private ServerboundConfigurationAcknowledgedPacket() {
13
	}
14
15
	@Override
16
	public PacketType<ServerboundConfigurationAcknowledgedPacket> type() {
17
		return GamePacketTypes.SERVERBOUND_CONFIGURATION_ACKNOWLEDGED;
18
	}
19
20
	public void handle(final ServerGamePacketListener listener) {
21
		listener.handleConfigurationAcknowledged(this);
22
	}
23
24
	@Override
25
	public boolean isTerminal() {
26
		return true;
27
	}
28
}
29

Decompiled Minecraft 26.3 source of ServerboundConfigurationAcknowledgedPacket (net/minecraft/network/protocol/game/ServerboundConfigurationAcknowledgedPacket.java) with Mojang official mappings, stored verbatim on the site.