History - net.minecraft.world.entity.ai.behavior.GiveGiftToHero

1.21.3

Names

bvw

byo

Fields

Map<VillagerProfession, ResourceKey<LootTable>>: g, GIFTS, field_18984, GIFTS, f_147550_

Map<VillagerProfession, ResourceKey<LootTable>>: g, GIFTS, field_18984, GIFTS

int: i, timeUntilNextGift, field_18985, ticksLeft, f_22987_

int: i, timeUntilNextGift, field_18985, ticksLeft

boolean: j, giftGivenDuringThisRun, field_18986, done, f_22988_

boolean: j, giftGivenDuringThisRun, field_18986, done

long: k, timeSinceStart, field_18987, startTime, f_22989_

long: k, timeSinceStart, field_18987, startTime

int: c, THROW_GIFT_AT_DISTANCE, field_30117, MAX_DISTANCE, f_147546_

int: c, THROW_GIFT_AT_DISTANCE, field_30117, MAX_DISTANCE

int: d, MIN_TIME_BETWEEN_GIFTS, field_30118, DEFAULT_DURATION, f_147547_

int: d, MIN_TIME_BETWEEN_GIFTS, field_30118, DEFAULT_DURATION

int: e, MAX_TIME_BETWEEN_GIFTS, field_30119, MAX_NEXT_GIFT_DELAY, f_147548_

int: e, MAX_TIME_BETWEEN_GIFTS, field_30119, MAX_NEXT_GIFT_DELAY

int: f, TIME_TO_DELAY_FOR_HEAD_TO_FINISH_TURNING, field_30120, RUN_TIME, f_147549_

int: f, TIME_TO_DELAY_FOR_HEAD_TO_FINISH_TURNING, field_30120, RUN_TIME

float: h, SPEED_MODIFIER, field_30121, WALK_SPEED, f_147551_

float: h, SPEED_MODIFIER, field_30121, WALK_SPEED

Constructors

Methods

boolean (ServerLevel, Villager): a, checkExtraStartConditions, method_19962, shouldRun, m_6114_

boolean (ServerLevel, Villager): a, checkExtraStartConditions, method_19962, shouldRun

void (ServerLevel, Villager, long): a, start, method_19963, run, m_6735_

void (ServerLevel, Villager, long): a, start, method_19963, run

boolean (ServerLevel, Villager, long): b, canStillUse, method_19965, shouldKeepRunning, m_6737_

boolean (ServerLevel, Villager, long): b, canStillUse, method_19965, shouldKeepRunning

void (ServerLevel, Villager, long): c, tick, method_19967, keepRunning, m_6725_

void (ServerLevel, Villager, long): c, tick, method_19967, keepRunning

void (ServerLevel, Villager, long): d, stop, method_19968, finishRunning, m_6732_

void (ServerLevel, Villager, long): d, stop, method_19968, finishRunning

void (Villager, LivingEntity): a, throwGift, method_19957, giveGifts, m_23011_

List<ItemStack> (Villager): a, getItemToThrow, method_19956, getGifts, m_23009_

boolean (Villager): b, isHeroVisible, method_19964, isNearestPlayerHero, m_23029_

boolean (Villager): b, isHeroVisible, method_19964, isNearestPlayerHero

Optional<Player> (Villager): c, getNearestTargetableHero, method_19966, getNearestPlayerIfHero, m_23039_

Optional<Player> (Villager): c, getNearestTargetableHero, method_19966, getNearestPlayerIfHero

boolean (Player): a, isHero, method_19959, isHero, m_23017_

boolean (Player): a, isHero, method_19959, isHero

boolean (Villager, Player): a, isWithinThrowingDistance, method_19958, isCloseEnough, m_23014_

boolean (Villager, Player): a, isWithinThrowingDistance, method_19958, isCloseEnough

int (ServerLevel): a, calculateTimeUntilNextGift, method_19961, getNextGiftDelay, m_22993_

int (ServerLevel): a, calculateTimeUntilNextGift, method_19961, getNextGiftDelay

void (ServerLevel, Villager, LivingEntity): a, throwGift, method_19957, giveGifts

ResourceKey<LootTable> (Villager): a, getLootTableToThrow, method_64173, getGiftLootTable

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

bvz

bvw

Fields

Constructors

Methods

1.20.6

Names

bor

bvz

Fields

Constructors

Methods

1.20.4

Names

blm

bor

Fields

Constructors

Methods

1.20.2

Names

big

blm

Fields

Constructors

Methods

1.20.1

Names

bie

big

Fields

Constructors

Methods

1.19.4

Names

bgj

bie

Fields

Constructors

Methods

1.19.3

Names

bed

bgj

Fields

int: a, THROW_GIFT_AT_DISTANCE, field_30117, MAX_DISTANCE, f_147546_

int: c, THROW_GIFT_AT_DISTANCE, field_30117, MAX_DISTANCE, f_147546_

Constructors

Methods

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

bdg

bed

Fields

Constructors

Methods

1.19

Names

azx

bdg

Fields

Map<VillagerProfession, ResourceLocation>: f, GIFTS, field_18984, GIFTS, f_147550_

Map<VillagerProfession, ResourceLocation>: g, GIFTS, field_18984, GIFTS, f_147550_

int: h, timeUntilNextGift, field_18985, ticksLeft, f_22987_

int: i, timeUntilNextGift, field_18985, ticksLeft, f_22987_

boolean: i, giftGivenDuringThisRun, field_18986, done, f_22988_

boolean: j, giftGivenDuringThisRun, field_18986, done, f_22988_

long: j, timeSinceStart, field_18987, startTime, f_22989_

long: k, timeSinceStart, field_18987, startTime, f_22989_

int: c, MIN_TIME_BETWEEN_GIFTS, field_30118, DEFAULT_DURATION, f_147547_

int: d, MIN_TIME_BETWEEN_GIFTS, field_30118, DEFAULT_DURATION, f_147547_

int: d, MAX_TIME_BETWEEN_GIFTS, field_30119, field_30119, f_147548_

int: e, MAX_TIME_BETWEEN_GIFTS, field_30119, MAX_NEXT_GIFT_DELAY, f_147548_

int: e, TIME_TO_DELAY_FOR_HEAD_TO_FINISH_TURNING, field_30120, RUN_TIME, f_147549_

int: f, TIME_TO_DELAY_FOR_HEAD_TO_FINISH_TURNING, field_30120, RUN_TIME, f_147549_

float: g, SPEED_MODIFIER, field_30121, WALK_SPEED, f_147551_

float: h, SPEED_MODIFIER, field_30121, WALK_SPEED, f_147551_

Constructors

Methods

1.18.2

Names

azg

azx

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

avu

azg

Fields

Constructors

Methods

1.17.1

Names

avt

avu

Fields

Constructors

Methods

1.17

Names

asg

avt

net.minecraft.entity.ai.brain.task.GiveHeroGiftsTask

net.minecraft.src.C_589_

net.minecraft.server.v1_16_R3.BehaviorVillageHeroGift

net.minecraft.world.entity.ai.behavior.BehaviorVillageHeroGift

Fields

Map<VillagerProfession, ResourceLocation>: b, gifts, field_18984, GIFTS, field_220403_a

Map<VillagerProfession, ResourceLocation>: f, GIFTS, field_18984, GIFTS, f_147550_

int: c, timeUntilNextGift, field_18985, ticksLeft, field_220404_b

int: h, timeUntilNextGift, field_18985, ticksLeft, f_22987_

boolean: d, giftGivenDuringThisRun, field_18986, done, field_220405_c

boolean: i, giftGivenDuringThisRun, field_18986, done, f_22988_

long: e, timeSinceStart, field_18987, startTime, field_220406_d

long: j, timeSinceStart, field_18987, startTime, f_22989_

int: a, THROW_GIFT_AT_DISTANCE, field_30117, MAX_DISTANCE, f_147546_

int: c, MIN_TIME_BETWEEN_GIFTS, field_30118, DEFAULT_DURATION, f_147547_

int: d, MAX_TIME_BETWEEN_GIFTS, field_30119, field_30119, f_147548_

int: e, TIME_TO_DELAY_FOR_HEAD_TO_FINISH_TURNING, field_30120, RUN_TIME, f_147549_

float: g, SPEED_MODIFIER, field_30121, WALK_SPEED, f_147551_

Constructors

Methods

boolean (ServerLevel, Villager): a, checkExtraStartConditions, method_19962, shouldRun, func_212832_a_

boolean (ServerLevel, Villager): a, checkExtraStartConditions, method_19962, shouldRun, m_6114_

void (ServerLevel, Villager, long): a, start, method_19963, run, func_212831_a_

void (ServerLevel, Villager, long): a, start, method_19963, run, m_6735_

boolean (ServerLevel, Villager, long): b, canStillUse, method_19965, shouldKeepRunning, func_212834_g_

boolean (ServerLevel, Villager, long): b, canStillUse, method_19965, shouldKeepRunning, m_6737_

void (ServerLevel, Villager, long): c, tick, method_19967, keepRunning, func_212833_d_

void (ServerLevel, Villager, long): c, tick, method_19967, keepRunning, m_6725_

void (ServerLevel, Villager, long): d, stop, method_19968, finishRunning, func_212835_f_

void (ServerLevel, Villager, long): d, stop, method_19968, finishRunning, m_6732_

void (Villager, LivingEntity): a, throwGift, method_19957, giveGifts, func_220398_a

void (Villager, LivingEntity): a, throwGift, method_19957, giveGifts, m_23011_

List<ItemStack> (Villager): a, getItemToThrow, method_19956, getGifts, func_220399_a

List<ItemStack> (Villager): a, getItemToThrow, method_19956, getGifts, m_23009_

boolean (Villager): b, isHeroVisible, method_19964, isNearestPlayerHero, func_220396_b

boolean (Villager): b, isHeroVisible, method_19964, isNearestPlayerHero, m_23029_

Optional<Player> (Villager): c, getNearestTargetableHero, method_19966, getNearestPlayerIfHero, func_220400_c

Optional<Player> (Villager): c, getNearestTargetableHero, method_19966, getNearestPlayerIfHero, m_23039_

boolean (Player): a, isHero, method_19959, isHero, func_220402_a

boolean (Player): a, isHero, method_19959, isHero, m_23017_

boolean (Villager, Player): a, isWithinThrowingDistance, method_19958, isCloseEnough, func_220401_a

boolean (Villager, Player): a, isWithinThrowingDistance, method_19958, isCloseEnough, m_23014_

int (ServerLevel): a, calculateTimeUntilNextGift, method_19961, getNextGiftDelay, func_220397_a

int (ServerLevel): a, calculateTimeUntilNextGift, method_19961, getNextGiftDelay, m_22993_

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

asd

asg

net.minecraft.server.v1_16_R2.BehaviorVillageHeroGift

net.minecraft.server.v1_16_R3.BehaviorVillageHeroGift

Fields

Constructors

Methods

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

aqs

asd

net.minecraft.server.v1_16_R1.BehaviorVillageHeroGift

net.minecraft.server.v1_16_R2.BehaviorVillageHeroGift

Fields

Constructors

Methods

1.16.1

Names

ami

aqs

net.minecraft.server.v1_15_R1.BehaviorVillageHeroGift

net.minecraft.server.v1_16_R1.BehaviorVillageHeroGift

Fields

Map<VillagerProfession, ResourceLocation>: a, gifts, field_18984, GIFTS, field_220403_a

Map<VillagerProfession, ResourceLocation>: b, gifts, field_18984, GIFTS, field_220403_a

int: b, timeUntilNextGift, field_18985, ticksLeft, field_220404_b

int: c, timeUntilNextGift, field_18985, ticksLeft, field_220404_b

boolean: c, giftGivenDuringThisRun, field_18986, done, field_220405_c

boolean: d, giftGivenDuringThisRun, field_18986, done, field_220405_c

long: d, timeSinceStart, field_18987, startTime, field_220406_d

long: e, timeSinceStart, field_18987, startTime, field_220406_d

Constructors

Methods

1.15.2

Names

amf

ami

Fields

Constructors

Methods

1.15.1

Names

Fields

Constructors

Methods

1.15

Names

akf

amf

net.minecraft.server.v1_14_R1.BehaviorVillageHeroGift

net.minecraft.server.v1_15_R1.BehaviorVillageHeroGift

Fields

Constructors

Methods

1.14.4

Names

akc

akf

net.minecraft.world.entity.ai.behavior.GiveGiftToHero

Fields

Map<VillagerProfession, MinecraftKey>: a, field_18984, GIFTS, field_220403_a

Map<VillagerProfession, ResourceLocation>: a, gifts, field_18984, GIFTS, field_220403_a

int: b, field_18985, ticksLeft, field_220404_b

int: b, timeUntilNextGift, field_18985, ticksLeft, field_220404_b

boolean: c, field_18986, done, field_220405_c

boolean: c, giftGivenDuringThisRun, field_18986, done, field_220405_c

long: d, field_18987, startTime, field_220406_d

long: d, timeSinceStart, field_18987, startTime, field_220406_d

Constructors

Methods

boolean (WorldServer, EntityVillager): a, method_19962, method_19962, func_212832_a_

boolean (ServerLevel, Villager): a, checkExtraStartConditions, method_19962, shouldRun, func_212832_a_

void (WorldServer, EntityVillager, long): a, method_19963, method_19963, func_212831_a_

void (ServerLevel, Villager, long): a, start, method_19963, run, func_212831_a_

boolean (WorldServer, EntityVillager, long): b, method_19965, method_19965, func_212834_g_

boolean (ServerLevel, Villager, long): b, canStillUse, method_19965, shouldKeepRunning, func_212834_g_

void (WorldServer, EntityVillager, long): c, method_19967, method_19967, func_212833_d_

void (ServerLevel, Villager, long): c, tick, method_19967, keepRunning, func_212833_d_

void (WorldServer, EntityVillager, long): d, method_19968, method_19968, func_212835_f_

void (ServerLevel, Villager, long): d, stop, method_19968, finishRunning, func_212835_f_

void (EntityVillager, EntityLiving): a, method_19957, giveGifts, func_220398_a

void (Villager, LivingEntity): a, throwGift, method_19957, giveGifts, func_220398_a

List<ItemStack> (EntityVillager): a, method_19956, getGifts, func_220399_a

List<ItemStack> (Villager): a, getItemToThrow, method_19956, getGifts, func_220399_a

boolean (EntityVillager): b, method_19964, isNearestPlayerHero, func_220396_b

boolean (Villager): b, isHeroVisible, method_19964, isNearestPlayerHero, func_220396_b

Optional<EntityHuman> (EntityVillager): c, method_19966, getNearestPlayerIfHero, func_220400_c

Optional<Player> (Villager): c, getNearestTargetableHero, method_19966, getNearestPlayerIfHero, func_220400_c

boolean (EntityHuman): a, method_19959, isHero, func_220402_a

boolean (Player): a, isHero, method_19959, isHero, func_220402_a

boolean (EntityVillager, EntityHuman): a, method_19958, isCloseEnough, func_220401_a

boolean (Villager, Player): a, isWithinThrowingDistance, method_19958, isCloseEnough, func_220401_a

int (WorldServer): a, method_19961, getNextGiftDelay, func_220397_a

int (ServerLevel): a, calculateTimeUntilNextGift, method_19961, getNextGiftDelay, func_220397_a

1.14.3

Names

aka

akc

net.minecraft.entity.ai.brain.task.GiveGiftsToHeroTask

Fields

Map<VillagerProfession, MinecraftKey>: a, field_18984, field_220403_a

Map<VillagerProfession, MinecraftKey>: a, field_18984, GIFTS, field_220403_a

int: b, field_18985, field_220404_b

int: b, field_18985, ticksLeft, field_220404_b

boolean: c, field_18986, field_220405_c

boolean: c, field_18986, done, field_220405_c

long: d, field_18987, field_220406_d

long: d, field_18987, startTime, field_220406_d

Constructors

Methods

boolean (WorldServer, EntityVillager): a, method_19962, func_212832_a_

boolean (WorldServer, EntityVillager): a, method_19962, method_19962, func_212832_a_

void (WorldServer, EntityVillager, long): a, method_19963, func_212831_a_

void (WorldServer, EntityVillager, long): a, method_19963, method_19963, func_212831_a_

boolean (WorldServer, EntityVillager, long): b, method_19965, func_212834_g_

boolean (WorldServer, EntityVillager, long): b, method_19965, method_19965, func_212834_g_

void (WorldServer, EntityVillager, long): c, method_19967, func_212833_d_

void (WorldServer, EntityVillager, long): c, method_19967, method_19967, func_212833_d_

void (WorldServer, EntityVillager, long): d, method_19968, func_212835_f_

void (WorldServer, EntityVillager, long): d, method_19968, method_19968, func_212835_f_

void (EntityVillager, EntityLiving): a, method_19957, func_220398_a

void (EntityVillager, EntityLiving): a, method_19957, giveGifts, func_220398_a

List<ItemStack> (EntityVillager): a, method_19956, func_220399_a

List<ItemStack> (EntityVillager): a, method_19956, getGifts, func_220399_a

boolean (EntityVillager): b, method_19964, func_220396_b

boolean (EntityVillager): b, method_19964, isNearestPlayerHero, func_220396_b

Optional<EntityHuman> (EntityVillager): c, method_19966, func_220400_c

Optional<EntityHuman> (EntityVillager): c, method_19966, getNearestPlayerIfHero, func_220400_c

boolean (EntityHuman): a, method_19959, func_220402_a

boolean (EntityHuman): a, method_19959, isHero, func_220402_a

boolean (EntityVillager, EntityHuman): a, method_19958, func_220401_a

boolean (EntityVillager, EntityHuman): a, method_19958, isCloseEnough, func_220401_a

int (WorldServer): a, method_19961, func_220397_a

int (WorldServer): a, method_19961, getNextGiftDelay, func_220397_a

1.14.2

Names

Fields

Constructors

Methods

1.14.1

Names

ajx

aka

Fields

Constructors

Methods

Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> (): a, method_18914, func_220381_a

1.14

Names

ajx

net.minecraft.class_4243

net.minecraft.entity.ai.brain.task.GiveHeroGiftsTask

net.minecraft.server.v1_14_R1.BehaviorVillageHeroGift

Fields

Map<VillagerProfession, MinecraftKey>: a, field_18984, field_220403_a

int: b, field_18985, field_220404_b

boolean: c, field_18986, field_220405_c

long: d, field_18987, field_220406_d

Constructors

(int)

Methods

Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> (): a, method_18914, func_220381_a

boolean (WorldServer, EntityVillager): a, method_19962, func_212832_a_

void (WorldServer, EntityVillager, long): a, method_19963, func_212831_a_

boolean (WorldServer, EntityVillager, long): b, method_19965, func_212834_g_

void (WorldServer, EntityVillager, long): c, method_19967, func_212833_d_

void (WorldServer, EntityVillager, long): d, method_19968, func_212835_f_

void (EntityVillager, EntityLiving): a, method_19957, func_220398_a

List<ItemStack> (EntityVillager): a, method_19956, func_220399_a

boolean (EntityVillager): b, method_19964, func_220396_b

Optional<EntityHuman> (EntityVillager): c, method_19966, func_220400_c

boolean (EntityHuman): a, method_19959, func_220402_a

boolean (EntityVillager, EntityHuman): a, method_19958, func_220401_a

int (WorldServer): a, method_19961, func_220397_a