minecraft_25w45a_unobfuscated/net/minecraft/network/protocol/game/ServerboundConfigurationAcknowledgedPacket.java
2025-11-24 22:52:51 +03:00

40 lines
1.2 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* io.netty.buffer.ByteBuf
*/
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;
import net.minecraft.network.protocol.game.GamePacketTypes;
import net.minecraft.network.protocol.game.ServerGamePacketListener;
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;
}
@Override
public void handle(ServerGamePacketListener listener) {
listener.handleConfigurationAcknowledged(this);
}
@Override
public boolean isTerminal() {
return true;
}
}