public class SanguinaryPedestalBlockReplacePacket
extends org.cyclops.cyclopscore.network.PacketCodec
| Constructor and Description |
|---|
SanguinaryPedestalBlockReplacePacket()
Empty packet.
|
SanguinaryPedestalBlockReplacePacket(net.minecraft.util.BlockPos location,
net.minecraft.block.Block block)
Creates a packet with coordinates.
|
SanguinaryPedestalBlockReplacePacket(double x,
double y,
double z,
int blockID)
Creates a packet with coordinates.
|
| 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 SanguinaryPedestalBlockReplacePacket()
public SanguinaryPedestalBlockReplacePacket(double x,
double y,
double z,
int blockID)
x - The X coordinate.y - The Y coordinate.z - The Z coordinate.blockID - The blockState ID.public SanguinaryPedestalBlockReplacePacket(net.minecraft.util.BlockPos location,
net.minecraft.block.Block block)
location - The location data.block - The blockState.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