public final class BlockChangeMessage extends Object implements com.flowpowered.network.Message
Constructor and Description |
---|
BlockChangeMessage(int x,
int y,
int z,
int type) |
BlockChangeMessage(int x,
int y,
int z,
int type,
int metadata)
Creates a message indicating that a block has changed.
|
public BlockChangeMessage(int x, int y, int z, int type, int metadata)
x
- the x coordinatey
- the y coordinatez
- the z coordinatetype
- the new block IDmetadata
- the new block data nibblepublic BlockChangeMessage(int x, int y, int z, int type)
public int getX()
public int getY()
public int getZ()
public int getType()
public boolean equals(Object o)
public int hashCode()
Copyright © 2021. All rights reserved.