public class WeatherConstructors
public Weather()Methods
Weather fromNbt(NbtCompound)Integer getClearWeatherTime()Returns the clearWeatherTime value.Integer getDataVersion()Returns the dataVersion value.Integer getRainTime()Returns the rainTime value.Boolean getRaining()Returns the raining value.Integer getThunderTime()Returns the thunderTime value.Boolean getThundering()Returns the thundering value.void setClearWeatherTime(Integer)Sets the clearWeatherTime value.void setDataVersion(Integer)Sets the dataVersion value.void setRainTime(Integer)Sets the rainTime value.void setRaining(Boolean)Sets the raining value.void setThunderTime(Integer)Sets the thunderTime value.void setThundering(Boolean)Sets the thundering value.NbtCompound toNbt()public static Weather fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
Weather | ||
public Integer getClearWeatherTime()Returns the clearWeatherTime value.
| Returns | ||
|---|---|---|
Integer | ||
Generated by Lombok's @Getter for the field clearWeatherTime
getDataVersion()
lombokSource
public Integer getDataVersion()getRainTime()
lombokSource
public Integer getRainTime()getRaining()
lombokSource
public Boolean getRaining()getThunderTime()
lombokSource
public Integer getThunderTime()getThundering()
lombokSource
public Boolean getThundering()public void setClearWeatherTime(Integer clearWeatherTime)Sets the clearWeatherTime value.
| Parameters | ||
|---|---|---|
clearWeatherTime | Integer | |
Generated by Lombok's @Setter for the field clearWeatherTime
public void setDataVersion(Integer dataVersion)Sets the dataVersion value.
| Parameters | ||
|---|---|---|
dataVersion | Integer | |
Generated by Lombok's @Setter for the field dataVersion
public void setRainTime(Integer rainTime)Sets the rainTime value.
| Parameters | ||
|---|---|---|
rainTime | Integer | |
Generated by Lombok's @Setter for the field rainTime
public void setRaining(Boolean raining)public void setThunderTime(Integer thunderTime)Sets the thunderTime value.
| Parameters | ||
|---|---|---|
thunderTime | Integer | |
Generated by Lombok's @Setter for the field thunderTime
public void setThundering(Boolean thundering)Sets the thundering value.
| Parameters | ||
|---|---|---|
thundering | Boolean | |
Generated by Lombok's @Setter for the field thundering
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return Weather.