net.minecraft.world.entity.npc

public class WanderingTraderSpawner

implements CustomSpawner

bdw
net.minecraft.world.entity.npc.WanderingTraderSpawner
net.minecraft.class_3990
net.minecraft.world.WanderingTraderManager
net.minecraft.world.spawner.WanderingTraderSpawner
net.minecraft.server.v1_16_R1.MobSpawnerTrader

Field summary

Modifier and TypeField
private final Random
a
random
field_17726
random
field_221246_a
private final ServerLevelData
b
serverLevelData
field_24387
field_24387
field_234559_b_
private int
c
tickDelay
field_17728
spawnTimer
field_221248_c
private int
d
spawnDelay
field_17729
spawnDelay
field_221249_d
private int
e
spawnChance
field_17730
spawnChance
field_221250_e

Constructor summary

ModifierConstructor
public (ServerLevelData arg0)

Method summary

Modifier and TypeMethod
public int
a(zd arg0, boolean arg1, boolean arg2)
tick(ServerLevel arg0, boolean arg1, boolean arg2)
method_6445(class_3218 arg0, boolean arg1, boolean arg2)
spawn(ServerWorld arg0, boolean arg1, boolean arg2)
func_230253_a_(ServerWorld arg0, boolean arg1, boolean arg2)
private boolean
a(zd arg0)
spawn(ServerLevel arg0)
method_18018(class_3218 arg0)
method_18018(ServerWorld arg0)
func_234562_a_(ServerWorld arg0)
private void
a(bdv arg0, int arg1)
tryToSpawnLlamaFor(WanderingTrader arg0, int arg1)
method_18016(class_3989 arg0, int arg1)
spawnLlama(WanderingTraderEntity wanderingTrader, int range)
func_221243_a(WanderingTraderEntity arg0, int arg1)
private BlockPos
a(bqd arg0, fu arg1, int arg2)
findSpawnPositionNear(LevelReader arg0, BlockPos arg1, int arg2)
method_18017(class_4538 arg0, class_2338 arg1, int arg2)
getNearbySpawnPos(WorldView arg0, BlockPos arg1, int arg2)
func_234561_a_(IWorldReader arg0, BlockPos arg1, int arg2)
private boolean
a(bpg arg0, fu arg1)
hasEnoughSpace(BlockGetter arg0, BlockPos arg1)
method_23279(class_1922 arg0, class_2338 arg1)
doesNotSuffocateAt(BlockView arg0, BlockPos arg1)
func_234560_a_(IBlockReader arg0, BlockPos arg1)