public class GiveInventoryToLookTargetTask<E extends LivingEntity>
extends MultiTickTask<E>
All mapped superinterfaces:
| net.minecraft.world.entity.ai.behavior.GoAndGiveItemsToTarget | |
| net.minecraft.class_7296 | |
| net.minecraft.entity.ai.brain.task.GiveInventoryToLookTargetTask |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private static final int |
|
||||||
| private final Function<LivingEntity, Optional<LookTarget>> |
|
||||||
| private final float |
|
||||||
| private final GiveInventoryToLookTargetTask$GiveListener<E> |
|
||||||
| private final MemoryModuleType<Integer> |
|
||||||
| private final int |
|
||||||
| private final Predicate<E> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, float speed, int runTime, GiveInventoryToLookTargetTask$GiveListener<E> giveListener, MemoryModuleType<Integer> cooldownModuleType, int cooldown, Predicate<E> hasItemPredicate) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| protected boolean |
|
||||||
| protected boolean |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| private boolean |
|
||||||
| private void |
|