History - net.minecraft.entity.ai.brain.task.GiveInventoryToLookTargetTask
26.3-snapshot-3
Names
Fields
Constructors
Methods
26.3-snapshot-2
Names
Fields
MemoryModuleType<Integer>: cooldownMemory, field_1_7814, field_1_7814
MemoryModuleType<Integer>: cooldownMemory, field_1_7814, cooldownModuleType
int: cooldownDuration, field_1_7813, field_1_7813
int: cooldownDuration, field_1_7813, cooldown
Predicate<E>: hasItemPredicate, field_1_7815, field_1_7815
Predicate<E>: hasItemPredicate, field_1_7815, hasItemPredicate
Constructors
Methods
26.3-snapshot-1
Names
Fields
int: ITEM_PICKUP_COOLDOWN_AFTER_THROWING, field_38388, ITEM_PICKUP_COOLDOWN_TICKS
Vec3d: throwVelocity, field_1_1059, velocityFactor
MemoryModuleType<Integer>: cooldownMemory, field_1_7814, field_1_7814
int: cooldownDuration, field_1_7813, field_1_7813
Predicate<E>: hasItemPredicate, field_1_7815, field_1_7815
Constructors
(Function<LivingEntity, Optional<LookTarget>>, float, int, GiveInventoryToLookTargetTask$GiveListener<E>)
(Function<LivingEntity, Optional<LookTarget>>, float, int, GiveInventoryToLookTargetTask$GiveListener<E>, MemoryModuleType<Integer>, int, Predicate<E>)
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
Vec3d: throwVelocity, field_1_1059, velocityFactor
GiveInventoryToLookTargetTask$GiveListener<E>: itemThrower, field_1_1058, giveListener
Constructors
(Function<LivingEntity, Optional<LookTarget>>, float, int)
(Function<LivingEntity, Optional<LookTarget>>, float, int, GiveInventoryToLookTargetTask$GiveListener<E>)
Methods
void (LookTarget, ItemStack, ServerPlayerEntity): triggerDropItemOnBlock, method_43079, triggerCriterion
Vec3d (LookTarget): getThrowPosition, method_42651, offsetTarget
void (LivingEntity, ItemStack, Vec3d): throwItem, method_43393, playThrowSound
void (LookTarget, ItemStack, ServerPlayerEntity): lambda$tick$1, method_43080, method_43080
1.21.11_unobfuscated
Names
net.minecraft.world.entity.ai.behavior.GoAndGiveItemsToTarget
net.minecraft.class_7296
net.minecraft.entity.ai.brain.task.GiveInventoryToLookTargetTask
Fields
int: CLOSE_ENOUGH_DISTANCE_TO_TARGET, field_38387, COMPLETION_RANGE
int: ITEM_PICKUP_COOLDOWN_AFTER_THROWING, field_38388, ITEM_PICKUP_COOLDOWN_TICKS
Function<LivingEntity, Optional<LookTarget>>: targetPositionGetter, field_38389, lookTargetFunction
float: speedModifier, field_38390, speed
Constructors
(Function<LivingEntity, Optional<LookTarget>>, float, int)
Methods
boolean (ServerWorld, E): checkExtraStartConditions, method_18919, shouldRun
boolean (ServerWorld, E, long): canStillUse, method_18927, shouldKeepRunning
void (ServerWorld, E, long): start, method_18920, run
void (ServerWorld, E, long): tick, method_18924, keepRunning
void (LookTarget, ItemStack, ServerPlayerEntity): triggerDropItemOnBlock, method_43079, triggerCriterion
boolean (E): canThrowItemToTarget, method_42649, hasItemAndTarget
Vec3d (LookTarget): getThrowPosition, method_42651, offsetTarget
void (LivingEntity, ItemStack, Vec3d): throwItem, method_43393, playThrowSound
void (LookTarget, ItemStack, ServerPlayerEntity): lambda$tick$1, method_43080, method_43080
void (LivingEntity, LookTarget): lambda$start$0, method_42650, method_42650