public class UseItemGoal<T extends Mob>
extends Goal
| boe | |
| net.minecraft.world.entity.ai.goal.UseItemGoal | |
| net.minecraft.class_3993 | |
| net.minecraft.entity.ai.goal.HoldInHandsGoal | |
| net.minecraft.src.C_731_ | |
| net.minecraft.world.entity.ai.goal.PathfinderGoalUseItem |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final T |
| ||||||||||
| private final ItemStack |
| ||||||||||
| private final Predicate<? super T> |
| ||||||||||
| private final SoundEvent |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (T actor, ItemStack item, SoundEvent sound, Predicate<? super T> condition) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public boolean |
| ||||||||||
| public boolean |
| ||||||||||
| public void |
| ||||||||||
| public void |
|