public class ServerBlockValuePacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerBlockValuePacket(Position position,
BlockValueType type,
BlockValue value,
int blockId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockId() |
Position |
getPosition() |
BlockValueType |
getType() |
BlockValue |
getValue() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerBlockValuePacket(Position position, BlockValueType type, BlockValue value, int blockId)
public Position getPosition()
public BlockValueType getType()
public BlockValue getValue()
public int getBlockId()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.