public class UpdateBlockPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateBlockPacket.Flag |
| Modifier and Type | Field and Description |
|---|---|
static Set<UpdateBlockPacket.Flag> |
FLAG_ALL |
static Set<UpdateBlockPacket.Flag> |
FLAG_ALL_PRIORITY |
| Constructor and Description |
|---|
UpdateBlockPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
com.nukkitx.math.vector.Vector3i |
getBlockPosition() |
int |
getDataLayer() |
Set<UpdateBlockPacket.Flag> |
getFlags() |
int |
getRuntimeId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setBlockPosition(com.nukkitx.math.vector.Vector3i blockPosition) |
void |
setDataLayer(int dataLayer) |
void |
setRuntimeId(int runtimeId) |
String |
toString() |
getHeader, setHeaderpublic static final Set<UpdateBlockPacket.Flag> FLAG_ALL
public static final Set<UpdateBlockPacket.Flag> FLAG_ALL_PRIORITY
public boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic Set<UpdateBlockPacket.Flag> getFlags()
public com.nukkitx.math.vector.Vector3i getBlockPosition()
public int getRuntimeId()
public int getDataLayer()
public void setBlockPosition(com.nukkitx.math.vector.Vector3i blockPosition)
public void setRuntimeId(int runtimeId)
public void setDataLayer(int dataLayer)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.