History - net.minecraft.entity.ai.brain.task.GiveGiftsToHeroTask
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.GiveGiftToHero
net.minecraft.class_4243
net.minecraft.entity.ai.brain.task.GiveGiftsToHeroTask
Fields
int: THROW_GIFT_AT_DISTANCE, field_30117, MAX_DISTANCE
int: MIN_TIME_BETWEEN_GIFTS, field_30118, DEFAULT_DURATION
int: MAX_TIME_BETWEEN_GIFTS, field_30119, MAX_NEXT_GIFT_DELAY
int: TIME_TO_DELAY_FOR_HEAD_TO_FINISH_TURNING, field_30120, RUN_TIME
Map<RegistryKey<VillagerProfession>, RegistryKey<LootTable>>: GIFTS, field_18984, GIFTS
float: SPEED_MODIFIER, field_30121, WALK_SPEED
int: timeUntilNextGift, field_18985, ticksLeft
boolean: giftGivenDuringThisRun, field_18986, done
long: timeSinceStart, field_18987, startTime
Constructors
(int)
Methods
boolean (ServerWorld, VillagerEntity): checkExtraStartConditions, method_19962, shouldRun
void (ServerWorld, VillagerEntity, long): start, method_19963, run
boolean (ServerWorld, VillagerEntity, long): canStillUse, method_19965, shouldKeepRunning
void (ServerWorld, VillagerEntity, long): tick, method_19967, keepRunning
void (ServerWorld, VillagerEntity, long): stop, method_19968, finishRunning
void (ServerWorld, VillagerEntity, LivingEntity): throwGift, method_19957, giveGifts
RegistryKey<LootTable> (VillagerEntity): getLootTableToThrow, method_64173, getGiftLootTable
boolean (VillagerEntity): isHeroVisible, method_19964, isNearestPlayerHero
Optional<PlayerEntity> (VillagerEntity): getNearestTargetableHero, method_19966, getNearestPlayerIfHero
boolean (PlayerEntity): isHero, method_19959, isHero
boolean (VillagerEntity, PlayerEntity): isWithinThrowingDistance, method_19958, isCloseEnough
int (ServerWorld): calculateTimeUntilNextGift, method_19961, getNextGiftDelay
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
void (VillagerEntity, LivingEntity, ServerWorld, ItemStack): lambda$throwGift$0, method_64174, method_64174