net.minecraft.world.entity.npc

public class WanderingTraderSpawner

implements CustomSpawner

cpq
net.minecraft.world.entity.npc.WanderingTraderSpawner
net.minecraft.class_3990
net.minecraft.unmapped.C_qbbyzhqx
net.minecraft.world.WanderingTraderManager
net.minecraft.world.WanderingTraderManager
net.minecraft.src.C_1137_
net.minecraft.world.entity.npc.MobSpawnerTrader

Field summary

Modifier and TypeField
private static final int
b
DEFAULT_TICK_DELAY
field_30631
f_sbpigqmh
DEFAULT_SPAWN_TIMER
DEFAULT_SPAWN_TIMER
f_150051_
public static final int
a
DEFAULT_SPAWN_DELAY
field_30630
f_aswglwzg
DEFAULT_SPAWN_DELAY
DEFAULT_SPAWN_DELAY
f_150050_
private static final int
c
MIN_SPAWN_CHANCE
field_30632
f_vzvsdseb
MIN_SPAWN_CHANCE
MIN_SPAWN_CHANCE
f_150052_
private static final int
d
MAX_SPAWN_CHANCE
field_30633
f_ygtabpkw
MAX_SPAWN_CHANCE
MAX_SPAWN_CHANCE
f_150053_
private static final int
e
SPAWN_CHANCE_INCREASE
field_30634
f_giyttazp
DEFAULT_SPAWN_CHANCE
DEFAULT_SPAWN_CHANCE
f_150054_
private static final int
f
SPAWN_ONE_IN_X_CHANCE
field_30635
f_feoprjuu
field_30635
SPAWN_ONE_IN_X_CHANCE
f_150055_
private static final int
g
NUMBER_OF_SPAWN_ATTEMPTS
field_30636
f_jjapugbr
field_30636
NUMBER_OF_SPAWN_ATTEMPTS
f_150056_
private final RandomSource
h
random
field_17726
f_mqcrmdve
random
random
f_35908_
private final ServerLevelData
i
serverLevelData
field_24387
f_kyfvuspw
properties
properties
f_35909_
private int
j
tickDelay
field_17728
f_nucicdut
spawnTimer
spawnTimer
f_35910_
private int
k
spawnDelay
field_17729
f_dcngghcw
spawnDelay
spawnDelay
f_35911_
private int
l
spawnChance
field_17730
f_fwmriegb
spawnChance
spawnChance
f_35912_

Constructor summary

ModifierConstructor
public (ServerLevelData properties)

Method summary

Modifier and TypeMethod
public int
a(ash arg0, boolean arg1, boolean arg2)
tick(ServerLevel arg0, boolean arg1, boolean arg2)
method_6445(class_3218 arg0, boolean arg1, boolean arg2)
m_pbgbeapl(C_bdwnwhiu arg0, boolean arg1, boolean arg2)
spawn(ServerWorld arg0, boolean arg1, boolean arg2)
spawn(ServerWorld arg0, boolean arg1, boolean arg2)
m_7995_(C_12_ p_35923_, boolean p_35924_, boolean arg2)
private boolean
a(ash arg0)
spawn(ServerLevel arg0)
method_18018(class_3218 arg0)
m_iudvlwhb(C_bdwnwhiu arg0)
trySpawn(ServerWorld world)
trySpawn(ServerWorld world)
m_35915_(C_12_ arg0)
private void
a(ash arg0, cpp arg1, int arg2)
tryToSpawnLlamaFor(ServerLevel arg0, WanderingTrader arg1, int arg2)
method_18016(class_3218 arg0, class_3989 arg1, int arg2)
m_siexywxw(C_bdwnwhiu arg0, C_kiprlgty arg1, int arg2)
spawnLlama(ServerWorld world, WanderingTraderEntity wanderingTrader, int range)
spawnLlama(ServerWorld world, WanderingTraderEntity wanderingTrader, int range)
m_35917_(C_12_ p_35919_, C_1135_ p_35920_, int arg2)
private BlockPos
a(dhl arg0, jh arg1, int arg2)
findSpawnPositionNear(LevelReader arg0, BlockPos arg1, int arg2)
method_18017(class_4538 arg0, class_2338 arg1, int arg2)
m_xihqltfb(C_eemzphbi arg0, C_hynzadkk arg1, int arg2)
getNearbySpawnPos(WorldView world, BlockPos pos, int range)
getNearbySpawnPos(WorldView world, BlockPos pos, int range)
m_35928_(C_1599_ p_35930_, C_4675_ p_35931_, int arg2)
private boolean
a(dgn arg0, jh arg1)
hasEnoughSpace(BlockGetter arg0, BlockPos arg1)
method_23279(class_1922 arg0, class_2338 arg1)
m_ynhpsduc(C_peaveboq arg0, C_hynzadkk arg1)
doesNotSuffocateAt(BlockView world, BlockPos pos)
doesNotSuffocateAt(BlockView world, BlockPos pos)
m_35925_(C_1559_ p_35927_, C_4675_ arg1)