public class UpdateSoulNetworkCachePacket
extends org.cyclops.cyclopscore.network.PacketCodec
| Constructor and Description |
|---|
UpdateSoulNetworkCachePacket()
Creates a packet with no content
|
UpdateSoulNetworkCachePacket(java.util.Map<java.lang.String,java.lang.Integer> playerEssences)
Creates a packet which contains the player names and amount of essence.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionClient(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
void |
actionServer(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayerMP player) |
boolean |
isAsync() |
public UpdateSoulNetworkCachePacket()
public UpdateSoulNetworkCachePacket(java.util.Map<java.lang.String,java.lang.Integer> playerEssences)
playerEssences - A map of players with their essence.public boolean isAsync()
isAsync in class org.cyclops.cyclopscore.network.PacketBasepublic void actionClient(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
actionClient in class org.cyclops.cyclopscore.network.PacketBasepublic void actionServer(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayerMP player)
actionServer in class org.cyclops.cyclopscore.network.PacketBase