Code/net/minecraft/network/protocol/game/ServerboundConfigurationAck...

28 lines
1020 B
Java
Raw Permalink Normal View History

2025-07-01 06:20:03 +00:00
package net.minecraft.network.protocol.game;
import io.netty.buffer.ByteBuf;
import net.minecraft.network.codec.StreamCodec;
import net.minecraft.network.protocol.Packet;
import net.minecraft.network.protocol.PacketType;
public class ServerboundConfigurationAcknowledgedPacket implements Packet<ServerGamePacketListener> {
public static final ServerboundConfigurationAcknowledgedPacket INSTANCE = new ServerboundConfigurationAcknowledgedPacket();
public static final StreamCodec<ByteBuf, ServerboundConfigurationAcknowledgedPacket> STREAM_CODEC = StreamCodec.unit(INSTANCE);
private ServerboundConfigurationAcknowledgedPacket() {
}
@Override
public PacketType<ServerboundConfigurationAcknowledgedPacket> type() {
return GamePacketTypes.SERVERBOUND_CONFIGURATION_ACKNOWLEDGED;
}
public void handle(ServerGamePacketListener p_297365_) {
p_297365_.handleConfigurationAcknowledged(this);
}
@Override
public boolean isTerminal() {
return true;
}
}