35 lines
1.1 KiB
Java
35 lines
1.1 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.ClientGamePacketListener;
|
|
import net.minecraft.network.protocol.game.GamePacketTypes;
|
|
|
|
public class ClientboundPlayerCombatEnterPacket
|
|
implements Packet<ClientGamePacketListener> {
|
|
public static final ClientboundPlayerCombatEnterPacket INSTANCE = new ClientboundPlayerCombatEnterPacket();
|
|
public static final StreamCodec<ByteBuf, ClientboundPlayerCombatEnterPacket> STREAM_CODEC = StreamCodec.unit(INSTANCE);
|
|
|
|
private ClientboundPlayerCombatEnterPacket() {
|
|
}
|
|
|
|
@Override
|
|
public PacketType<ClientboundPlayerCombatEnterPacket> type() {
|
|
return GamePacketTypes.CLIENTBOUND_PLAYER_COMBAT_ENTER;
|
|
}
|
|
|
|
@Override
|
|
public void handle(ClientGamePacketListener listener) {
|
|
listener.handlePlayerCombatEnter(this);
|
|
}
|
|
}
|
|
|