Interface IPacketCustomId<T extends net.minecraft.network.listener.PacketListener>

All Superinterfaces:
net.minecraft.network.Packet<T>
All Known Implementing Classes:
CompactDataPacketToClient, CompactDataPacketToServer

public interface IPacketCustomId<T extends net.minecraft.network.listener.PacketListener>
extends net.minecraft.network.Packet<T>
  • Method Summary

    Modifier and Type Method Description
    int getReadId()  

    Methods inherited from interface net.minecraft.network.Packet

    apply, isWritingErrorSkippable, read, write
  • Method Details

    • getReadId

      int getReadId()
      Returns:
      The integer ID that the other side is expecting.