classinternallombokSource
public class WanderingTrader

Constructors

public WanderingTrader()

Methods

public static WanderingTrader fromNbt(NbtCompound nbt)
Parameters
nbtNbtCompound
Returns
WanderingTrader
public Integer getDataVersion()

Returns the dataVersion value.

Returns
Integer

Generated by Lombok's @Getter for the field dataVersion

public Integer getSpawnChance()

Returns the spawnChance value.

Returns
Integer

Generated by Lombok's @Getter for the field spawnChance

public Integer getSpawnDelay()

Returns the spawnDelay value.

Returns
Integer

Generated by Lombok's @Getter for the field spawnDelay

public void setDataVersion(Integer dataVersion)

Sets the dataVersion value.

Parameters
dataVersionInteger

Generated by Lombok's @Setter for the field dataVersion

public void setSpawnChance(Integer spawnChance)

Sets the spawnChance value.

Parameters
spawnChanceInteger

Generated by Lombok's @Setter for the field spawnChance

public void setSpawnDelay(Integer spawnDelay)

Sets the spawnDelay value.

Parameters
spawnDelayInteger

Generated by Lombok's @Setter for the field spawnDelay

public NbtCompound toNbt()

Used by

Methods of other types that accept or return WanderingTrader.