类 TemptingSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<PathfinderMob>
net.minecraft.world.entity.ai.sensing.TemptingSensor
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
doTick
(ServerLevel p_148331_, PathfinderMob p_148332_) private boolean
isTemptation
(ItemStack p_148339_) private boolean
playerHoldingTemptation
(Player p_148337_) Set
<MemoryModuleType<?>> requires()
从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, rememberPositives, tick, wasEntityAttackableLastNTicks
-
字段详细资料
-
TEMPT_TARGETING
-
temptations
-
-
构造器详细资料
-
TemptingSensor
-
-
方法详细资料
-
doTick
- 指定者:
doTick
在类中Sensor<PathfinderMob>
-
playerHoldingTemptation
-
isTemptation
-
requires
- 指定者:
requires
在类中Sensor<PathfinderMob>
-