public class SpawnConstructors
public Spawn()Methods
Spawn fromNbt(NbtCompound)String getDimension()Returns the dimension value.float getPitch()Returns the pitch value.int[] getPos()Returns the pos value.float getYaw()Returns the yaw value.void setDimension(String)Sets the dimension value.void setPitch(float)Sets the pitch value.void setPos(int[])Sets the pos value.void setYaw(float)Sets the yaw value.NbtCompound toNbt()public static Spawn fromNbt(NbtCompound spawnNbt)| Parameters | ||
|---|---|---|
spawnNbt | NbtCompound | |
| Returns | ||
Spawn | ||
getDimension()
lombokSource
public String getDimension()getPitch()
lombokSource
public float getPitch()Returns the pitch value.
| Returns | ||
|---|---|---|
float | ||
Generated by Lombok's @Getter for the field pitch
public int[] getPos()Returns the pos value.
| Returns | ||
|---|---|---|
int[] | ||
Generated by Lombok's @Getter for the field pos
public float getYaw()Returns the yaw value.
| Returns | ||
|---|---|---|
float | ||
Generated by Lombok's @Getter for the field yaw
public void setDimension(String dimension)Sets the dimension value.
| Parameters | ||
|---|---|---|
dimension | String | |
Generated by Lombok's @Setter for the field dimension
setPitch(float)
lombokSource
public void setPitch(float pitch)Sets the pitch value.
| Parameters | ||
|---|---|---|
pitch | float | |
Generated by Lombok's @Setter for the field pitch
setPos(int[])
lombokSource
public void setPos(int[] pos)Sets the pos value.
| Parameters | ||
|---|---|---|
pos | int[] | |
Generated by Lombok's @Setter for the field pos
setYaw(float)
lombokSource
public void setYaw(float yaw)Sets the yaw value.
| Parameters | ||
|---|---|---|
yaw | float | |
Generated by Lombok's @Setter for the field yaw
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||