public class SetSpawnPositionPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
SetSpawnPositionPacket.Type |
| Constructor and Description |
|---|
SetSpawnPositionPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
com.flowpowered.math.vector.Vector3i |
getBlockPosition() |
SetSpawnPositionPacket.Type |
getSpawnType() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isSpawnForced() |
void |
setBlockPosition(com.flowpowered.math.vector.Vector3i blockPosition) |
void |
setSpawnForced(boolean spawnForced) |
void |
setSpawnType(SetSpawnPositionPacket.Type spawnType) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic SetSpawnPositionPacket.Type getSpawnType()
public com.flowpowered.math.vector.Vector3i getBlockPosition()
public boolean isSpawnForced()
public void setSpawnType(SetSpawnPositionPacket.Type spawnType)
public void setBlockPosition(com.flowpowered.math.vector.Vector3i blockPosition)
public void setSpawnForced(boolean spawnForced)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.