History - net.minecraft.world.WanderingTraderManager

26.3-snapshot-3

Names

Fields

Constructors

Methods

boolean (BlockView, BlockPos): hasEnoughSpace, method_23279, doesNotSuffocateAt

boolean (WorldView, BlockPos): hasEnoughSpace, method_23279, doesNotSuffocateAt

NextIteration (WorldView, BlockPos, BlockState): lambda$hasEnoughSpace$0, method_1_8193, method_1_8193

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

ServerWorldProperties: serverLevelData, field_24387, properties

int: spawnDelay, field_17729, spawnDelay

int: spawnChance, field_17730, spawnChance

PersistentStateManager: savedDataStorage, field_24387, persistentStateManager

WanderingTraderPersistentState: traderData, field_1_1668, state

Constructors

(ServerWorldProperties)

(PersistentStateManager)

Methods

WanderingTraderPersistentState (): getTraderData, method_1_2062, getState

1.21.11_unobfuscated

Names

net.minecraft.world.entity.npc.wanderingtrader.WanderingTraderSpawner

net.minecraft.class_3990

net.minecraft.world.WanderingTraderManager

Fields

int: DEFAULT_TICK_DELAY, field_30631, DEFAULT_SPAWN_TIMER

int: DEFAULT_SPAWN_DELAY, field_30630, DEFAULT_SPAWN_DELAY

int: MIN_SPAWN_CHANCE, field_30632, MIN_SPAWN_CHANCE

int: MAX_SPAWN_CHANCE, field_30633, MAX_SPAWN_CHANCE

int: SPAWN_CHANCE_INCREASE, field_30634, DEFAULT_SPAWN_CHANCE

int: SPAWN_ONE_IN_X_CHANCE, field_30635, field_30635

int: NUMBER_OF_SPAWN_ATTEMPTS, field_30636, field_30636

Random: random, field_17726, random

ServerWorldProperties: serverLevelData, field_24387, properties

int: tickDelay, field_17728, spawnTimer

int: spawnDelay, field_17729, spawnDelay

int: spawnChance, field_17730, spawnChance

Constructors

(ServerWorldProperties)

Methods

void (ServerWorld, boolean): tick, method_6445, spawn

boolean (ServerWorld): spawn, method_18018, trySpawn

void (ServerWorld, WanderingTraderEntity, int): tryToSpawnLlamaFor, method_18016, spawnLlama

BlockPos (WorldView, BlockPos, int): findSpawnPositionNear, method_18017, getNearbySpawnPos

boolean (BlockView, BlockPos): hasEnoughSpace, method_23279, doesNotSuffocateAt

boolean (BlockPos): lambda$spawn$1, method_19631, method_19631

boolean (RegistryEntry): lambda$spawn$0, method_44010, method_44010