Class EndGamePacket
java.lang.Object
com.pixelmonmod.tcg.network.data.AbstractTCGPacket
com.pixelmonmod.tcg.network.packets.battles.EndGamePacket
- All Implemented Interfaces:
- TCGPacket
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddecode(net.minecraft.network.FriendlyByteBuf buffer) Decodes the information from the buffer to the packet instancevoidencode(net.minecraft.network.FriendlyByteBuf buffer) Encodes the buffer with the packet informationprotected voidhandlePacket(net.minecraftforge.event.network.CustomPayloadEvent.Context context) Methods inherited from class com.pixelmonmod.tcg.network.data.AbstractTCGPackethandle, reply
- 
Constructor Details- 
EndGamePacketpublic EndGamePacket()
- 
EndGamePacketpublic EndGamePacket(net.minecraft.core.BlockPos blockPos) 
 
- 
- 
Method Details- 
encodepublic void encode(net.minecraft.network.FriendlyByteBuf buffer) Description copied from interface:TCGPacketEncodes the buffer with the packet information- Specified by:
- encodein interface- TCGPacket
- Overrides:
- encodein class- AbstractTCGPacket
- Parameters:
- buffer- The buffer being encoded
 
- 
decodepublic void decode(net.minecraft.network.FriendlyByteBuf buffer) Description copied from interface:TCGPacketDecodes the information from the buffer to the packet instance- Specified by:
- decodein interface- TCGPacket
- Overrides:
- decodein class- AbstractTCGPacket
- Parameters:
- buffer- The buffer being decoded
 
- 
handlePacketprotected void handlePacket(net.minecraftforge.event.network.CustomPayloadEvent.Context context) - Specified by:
- handlePacketin class- AbstractTCGPacket
 
 
-