classinternallombokSource
public class Spawn

Constructors

public Spawn()

Methods

public static Spawn fromNbt(NbtCompound spawnNbt)
Parameters
spawnNbtNbtCompound
Returns
Spawn
public String getDimension()

Returns the dimension value.

Returns
String

Generated by Lombok's @Getter for the field dimension

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
dimensionString

Generated by Lombok's @Setter for the field dimension

public void setPitch(float pitch)

Sets the pitch value.

Parameters
pitchfloat

Generated by Lombok's @Setter for the field pitch

public void setPos(int[] pos)

Sets the pos value.

Parameters
posint[]

Generated by Lombok's @Setter for the field pos

public void setYaw(float yaw)

Sets the yaw value.

Parameters
yawfloat

Generated by Lombok's @Setter for the field yaw

public NbtCompound toNbt()