Package net.minecraft.world
Class WanderingTraderManager
java.lang.Object
net.minecraft.world.WanderingTraderManager
- All Implemented Interfaces:
Spawner
public class WanderingTraderManager extends Object implements Spawner
-
Field Summary
Fields Modifier and Type Field Description private ServerWorldPropertiesfield_24387private Randomrandomprivate intspawnChanceprivate intspawnDelayprivate intspawnTimer -
Constructor Summary
Constructors Constructor Description WanderingTraderManager(ServerWorldProperties serverWorldProperties) -
Method Summary
Modifier and Type Method Description private BlockPosgetNearbySpawnPos(WorldView worldView, BlockPos blockPos, int int2)private booleanmethod_18018(ServerWorld serverWorld)intspawn(ServerWorld serverWorld, boolean bool, boolean bool2)private voidspawnLlama(WanderingTraderEntity wanderingTrader, int range)private booleanwontSuffocateAt(BlockView blockView, BlockPos blockPos)
-
Field Details
-
random
-
field_24387
-
spawnTimer
private int spawnTimer -
spawnDelay
private int spawnDelay -
spawnChance
private int spawnChance
-
-
Constructor Details
-
Method Details