Package at.petrak.hexcasting.common.msgs
Interface IMessage
- All Known Implementing Classes:
MsgBeepS2C,MsgCastParticleS2C,MsgClearSpiralPatternsS2C,MsgNewSpellPatternC2S,MsgNewSpellPatternS2C,MsgNewSpiralPatternsS2C,MsgNewWallScrollS2C,MsgOpenSpellGuiS2C,MsgRecalcWallScrollDisplayS2C,MsgShiftScrollC2S
public interface IMessage
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationForge 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.voidserialize(net.minecraft.network.FriendlyByteBuf buf) default net.minecraft.network.FriendlyByteBuftoBuf()
-
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.
-