minified-worlds/com.dervarex.minified.worlds.save.data
WorldGenSettings
public class WorldGenSettingsConstructors
public WorldGenSettings()Methods
WorldGenSettings fromNbt(NbtCompound)int getDataVersion()Returns the dataVersion value.Map<String, Dimension> getDimensions()Returns the dimensions value.long getSeed()Returns the seed value.boolean isBonusChest()Returns the bonusChest value.boolean isGenerateStructures()Returns the generateStructures value.void setBonusChest(boolean)Sets the bonusChest value.void setDataVersion(int)Sets the dataVersion value.void setGenerateStructures(boolean)Sets the generateStructures value.void setSeed(long)Sets the seed value.NbtCompound toNbt()public static WorldGenSettings fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
WorldGenSettings | ||
getDataVersion()
public int getDataVersion()Returns the dataVersion value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field dataVersion
getDimensions()
public Map<String, Dimension> getDimensions()public long getSeed()Returns the seed value.
| Returns | ||
|---|---|---|
long | ||
Generated by Lombok's @Getter for the field seed
isBonusChest()
public boolean isBonusChest()Returns the bonusChest value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field bonusChest
public boolean isGenerateStructures()Returns the generateStructures value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field generateStructures
public void setBonusChest(boolean bonusChest)Sets the bonusChest value.
| Parameters | ||
|---|---|---|
bonusChest | boolean | |
Generated by Lombok's @Setter for the field bonusChest
public void setDataVersion(int dataVersion)Sets the dataVersion value.
| Parameters | ||
|---|---|---|
dataVersion | int | |
Generated by Lombok's @Setter for the field dataVersion
public void setGenerateStructures(boolean generateStructures)Sets the generateStructures value.
| Parameters | ||
|---|---|---|
generateStructures | boolean | |
Generated by Lombok's @Setter for the field generateStructures
setSeed(long)
public void setSeed(long seed)Sets the seed value.
| Parameters | ||
|---|---|---|
seed | long | |
Generated by Lombok's @Setter for the field seed
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Nested types
WorldGenSettings.DimensionclassNo description.
WorldGenSettings.GeneratorclassNo description.
WorldGenSettings.BiomeSourceclassNo description.
Used by
Methods of other types that accept or return WorldGenSettings.