net.minecraft.entity.ai.goal

public class IronGolemWanderAroundGoal

extends WanderAroundGoal

net.minecraft.world.entity.ai.goal.GolemRandomStrollInVillageGoal
net.minecraft.class_5274
net.minecraft.entity.ai.goal.IronGolemWanderAroundGoal

Field summary

Modifier and TypeField
private static final int
POI_SECTION_SCAN_RADIUS
field_30213
CHUNK_RANGE
private static final int
VILLAGER_SCAN_RADIUS
field_30214
ENTITY_COLLISION_RANGE
private static final int
RANDOM_POS_XY_DISTANCE
field_30215
HORIZONTAL_RANGE
private static final int
RANDOM_POS_Y_DISTANCE
field_30216
VERTICAL_RANGE

Constructor summary

ModifierConstructor
public (PathAwareEntity mob, double speedModifier)

Method summary

Modifier and TypeMethod
protected Vec3d
getPosition()
method_6302()
getWanderTarget()
private Vec3d
getPositionTowardsAnywhere()
method_27925()
findRandomInRange()
private Vec3d
getPositionTowardsVillagerWhoWantsGolem()
method_27926()
findVillagerPos()
private Vec3d
getPositionTowardsPoi()
method_27927()
findRandomBlockPos()
private ChunkSectionPos
getRandomVillageSection()
method_27928()
findRandomChunkPos()
private BlockPos
getRandomPoiWithinSection(SectionPos sectionPos)
method_27923(class_4076 arg0)
findRandomPosInChunk(ChunkSectionPos pos)
private boolean
doesVillagerWantGolem(Villager villager)
method_27922(class_1646 arg0)
canVillagerSummonGolem(VillagerEntity villager)
private static boolean
lambda$getRandomPoiWithinSection$1(Holder arg0)
method_27921(class_6880 arg0)
method_27921(RegistryEntry arg0)
private static boolean
lambda$getRandomVillageSection$0(ServerLevel arg0, SectionPos arg1)
method_27924(class_3218 arg0, class_4076 arg1)
method_27924(ServerWorld arg0, ChunkSectionPos sectionPos)