minified-worlds/com.dervarex.minified.worlds.save.data
WanderingTrader
public class WanderingTraderConstructors
public WanderingTrader()Methods
WanderingTrader fromNbt(NbtCompound)Integer getDataVersion()Returns the dataVersion value.Integer getSpawnChance()Returns the spawnChance value.Integer getSpawnDelay()Returns the spawnDelay value.void setDataVersion(Integer)Sets the dataVersion value.void setSpawnChance(Integer)Sets the spawnChance value.void setSpawnDelay(Integer)Sets the spawnDelay value.NbtCompound toNbt()public static WanderingTrader fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
WanderingTrader | ||
getDataVersion()
lombokSource
public Integer getDataVersion()getSpawnChance()
lombokSource
public Integer getSpawnChance()getSpawnDelay()
lombokSource
public Integer getSpawnDelay()public void setDataVersion(Integer dataVersion)Sets the dataVersion value.
| Parameters | ||
|---|---|---|
dataVersion | Integer | |
Generated by Lombok's @Setter for the field dataVersion
public void setSpawnChance(Integer spawnChance)Sets the spawnChance value.
| Parameters | ||
|---|---|---|
spawnChance | Integer | |
Generated by Lombok's @Setter for the field spawnChance
public void setSpawnDelay(Integer spawnDelay)Sets the spawnDelay value.
| Parameters | ||
|---|---|---|
spawnDelay | Integer | |
Generated by Lombok's @Setter for the field spawnDelay
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return WanderingTrader.