Interface IMessage

All Known Implementing Classes:
MsgBeepS2C, MsgCastParticleS2C, MsgClearSpiralPatternsS2C, MsgNewSpellPatternC2S, MsgNewSpellPatternS2C, MsgNewSpiralPatternsS2C, MsgNewWallScrollS2C, MsgOpenSpellGuiS2C, MsgRecalcWallScrollDisplayS2C, MsgShiftScrollC2S

public interface IMessage
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
    Forge auto-assigns incrementing integers, Fabric requires us to declare an ID These are sent using vanilla's custom plugin channel system and thus are written to every single packet.
    void
    serialize(net.minecraft.network.FriendlyByteBuf buf)
     
    default net.minecraft.network.FriendlyByteBuf
     
  • Method Details

    • toBuf

      default net.minecraft.network.FriendlyByteBuf toBuf()
    • serialize

      void serialize(net.minecraft.network.FriendlyByteBuf buf)
    • getFabricId

      net.minecraft.resources.ResourceLocation getFabricId()
      Forge auto-assigns incrementing integers, Fabric requires us to declare an ID These are sent using vanilla's custom plugin channel system and thus are written to every single packet. So this ID tends to be more terse.