public class UpdateWorldSharedTankClientCachePacket
extends org.cyclops.cyclopscore.network.PacketCodec
| Constructor and Description |
|---|
UpdateWorldSharedTankClientCachePacket()
Creates a packet with no content
|
UpdateWorldSharedTankClientCachePacket(java.lang.String tankID,
net.minecraftforge.fluids.FluidStack fluidStack)
Creates a packet which contains the fluid stack.
|
| 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 UpdateWorldSharedTankClientCachePacket()
public UpdateWorldSharedTankClientCachePacket(java.lang.String tankID,
net.minecraftforge.fluids.FluidStack fluidStack)
tankID - The id of the shared tank.fluidStack - The fluid stack.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