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

1.21.2

Names

byo

net.minecraft.world.entity.ai.behavior.GoAndGiveItemsToTarget

net.minecraft.class_7296

net.minecraft.unmapped.C_swaljdod

net.minecraft.entity.ai.brain.task.GiveInventoryToLookTargetTask

net.minecraft.entity.ai.brain.task.GiveItemsToTargetTask

net.minecraft.src.C_213012_

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

Fields

int: c, CLOSE_ENOUGH_DISTANCE_TO_TARGET, field_38387, f_rdjgzieh, COMPLETION_RANGE, CLOSE_ENOUGH_DISTANCE_TO_TARGET, f_217188_

int: d, ITEM_PICKUP_COOLDOWN_AFTER_THROWING, field_38388, f_ssmvgpht, ITEM_PICKUP_COOLDOWN_TICKS, ITEM_PICKUP_COOLDOWN_AFTER_THROWING, f_217189_

Function<LivingEntity, Optional<PositionTracker>>: e, targetPositionGetter, field_38389, f_ftrotjuy, lookTargetFunction, targetPositionGetter, f_217190_

float: f, speedModifier, field_38390, f_jofmghgv, speed, speedModifier, f_217191_

Constructors

(Function<LivingEntity, Optional<PositionTracker>>, float, int)

Methods

boolean (ServerLevel, E): a, checkExtraStartConditions, method_18919, m_pwowjghk, shouldRun, shouldRun, m_6114_

boolean (ServerLevel, E, long): a, canStillUse, method_18927, m_xvrvizlg, shouldKeepRunning, shouldKeepRunning, m_6737_

void (ServerLevel, E, long): d, start, method_18920, m_thxoqxcz, run, run, m_6735_

void (ServerLevel, E, long): c, tick, method_18924, m_jiotgmjk, keepRunning, keepRunning, m_6725_

void (PositionTracker, ItemStack, ServerPlayer): a, triggerDropItemOnBlock, method_43079, m_ofxcaqzz, triggerCriterion, triggerDropItemOnBlock, m_217213_

boolean (E): b, canThrowItemToTarget, method_42649, m_txuefktw, hasItemAndTarget, canThrowItemToTarget, m_217202_

Vec3 (PositionTracker): a, getThrowPosition, method_42651, m_cnkgfmul, offsetTarget, getThrowPosition, m_217211_

void (LivingEntity, ItemStack, Vec3): a, throwItem, method_43393, m_dtyapbty, playThrowSound, throwItemStackToEntity, m_217207_