Package at.petrak.paucal.api.msg
Interface PaucalMessage
- All Known Implementing Classes:
MsgHeadpatSoundS2C,MsgReloadContributorsS2C
public interface PaucalMessage
-
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.
-