classinternallombokSource
public class Version

Constructors

public Version()

Methods

public static Version fromNbt(NbtCompound versionNbt)
Parameters
versionNbtNbtCompound
Returns
Version
public int getId()

Returns the id value.

Returns
int

Generated by Lombok's @Getter for the field id

public String getName()

Returns the name value.

Returns
String

Generated by Lombok's @Getter for the field name

public String getSeries()

Returns the series value.

Returns
String

Generated by Lombok's @Getter for the field series

public boolean isSnapshot()

Returns the snapshot value.

Returns
boolean

Generated by Lombok's @Getter for the field snapshot

public void setId(int id)

Sets the id value.

Parameters
idint

Generated by Lombok's @Setter for the field id

public void setName(String name)

Sets the name value.

Parameters
nameString

Generated by Lombok's @Setter for the field name

public void setSeries(String series)

Sets the series value.

Parameters
seriesString

Generated by Lombok's @Setter for the field series

public void setSnapshot(boolean snapshot)

Sets the snapshot value.

Parameters
snapshotboolean

Generated by Lombok's @Setter for the field snapshot

public NbtCompound toNbt()