/* * Decompiled with CFR 0.152. * * Could not load the following classes: * io.netty.buffer.ByteBuf */ package net.minecraft.network.protocol; import io.netty.buffer.ByteBuf; import net.minecraft.network.PacketListener; import net.minecraft.network.codec.StreamCodec; import net.minecraft.network.codec.StreamDecoder; import net.minecraft.network.codec.StreamMemberEncoder; import net.minecraft.network.protocol.PacketType; public interface Packet { public PacketType> type(); public void handle(T var1); default public boolean isSkippable() { return false; } default public boolean isTerminal() { return false; } public static > StreamCodec codec(StreamMemberEncoder writer, StreamDecoder reader) { return StreamCodec.ofMember(writer, reader); } }