net.minecraft.world.entity.npc

public class WanderingTraderSpawner

implements CustomSpawner

bfn
net.minecraft.world.entity.npc.WanderingTraderSpawner
net.minecraft.class_3990
net.minecraft.world.WanderingTraderManager
net.minecraft.world.spawner.WanderingTraderSpawner
net.minecraft.server.v1_16_R2.MobSpawnerTrader

Field summary

Modifier and TypeField
private final Random
a
random
field_17726
random
field_221246_a
private final ServerLevelData
b
serverLevelData
field_24387
properties
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 properties)

Method summary

Modifier and TypeMethod
public int
a(aag 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(aag arg0)
spawn(ServerLevel arg0)
method_18018(class_3218 arg0)
method_18018(ServerWorld arg0)
func_234562_a_(ServerWorld arg0)
private void
a(aag arg0, bfm arg1, int arg2)
tryToSpawnLlamaFor(ServerLevel arg0, WanderingTrader arg1, int arg2)
method_18016(class_3218 arg0, class_3989 arg1, int arg2)
spawnLlama(ServerWorld arg0, WanderingTraderEntity arg1, int arg2)
func_242373_a(ServerWorld arg0, WanderingTraderEntity arg1, int arg2)
private BlockPos
a(brw arg0, fx 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(bqz arg0, fx 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)