History - net.minecraft.entity.ai.brain.task.FarmerVillagerTask

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.entity.ai.behavior.HarvestFarmland

net.minecraft.class_4217

net.minecraft.entity.ai.brain.task.FarmerVillagerTask

Fields

int: HARVEST_DURATION, field_30124, MAX_RUN_TIME

float: SPEED_MODIFIER, field_30123, WALK_SPEED

BlockPos: aboveFarmlandPos, field_18858, currentTarget

long: nextOkStartTime, field_18861, nextResponseTime

int: timeWorkedSoFar, field_19239, ticksRan

List<BlockPos>: validFarmlandAroundVillager, field_19351, targetPositions

Constructors

()

Methods

boolean (ServerWorld, VillagerEntity): checkExtraStartConditions, method_19564, shouldRun

BlockPos (ServerWorld): getValidFarmland, method_20641, chooseRandomTarget

boolean (BlockPos, ServerWorld): validPos, method_20640, isSuitableTarget

void (ServerWorld, VillagerEntity, long): start, method_20392, run

void (ServerWorld, VillagerEntity, long): stop, method_19566, finishRunning

void (ServerWorld, VillagerEntity, long): tick, method_19565, keepRunning

boolean (ServerWorld, VillagerEntity, long): canStillUse, method_20394, shouldKeepRunning

boolean (ServerWorld, LivingEntity): checkExtraStartConditions, method_18919, shouldRun

boolean (ServerWorld, LivingEntity, long): canStillUse, method_18927, shouldKeepRunning

void (ServerWorld, LivingEntity, long): stop, method_18926, finishRunning

void (ServerWorld, LivingEntity, long): tick, method_18924, keepRunning

void (ServerWorld, LivingEntity, long): start, method_18920, run