public class SanguinaryPedestalBlockReplacePacket extends PacketCodec
| Constructor and Description |
|---|
SanguinaryPedestalBlockReplacePacket()
Empty packet.
|
SanguinaryPedestalBlockReplacePacket(double x,
double y,
double z,
int blockID)
Creates a packet with coordinates.
|
SanguinaryPedestalBlockReplacePacket(ILocation location,
net.minecraft.block.Block block)
Creates a packet with coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionClient(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
Actions for client-side.
|
void |
actionServer(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayerMP player)
Actions for server-side.
|
decode, encode, getActionpublic 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 block ID.public SanguinaryPedestalBlockReplacePacket(ILocation location, net.minecraft.block.Block block)
location - The location data.block - The block.public void actionClient(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
PacketBaseactionClient in class PacketBaseworld - The world.player - The player.public void actionServer(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayerMP player)
PacketBaseactionServer in class PacketBaseworld - The world.player - The player.