类 PiglinSpecificSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.PiglinSpecificSensor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
doTick
(ServerLevel p_26726_, LivingEntity p_26727_) findNearestRepellent
(ServerLevel p_26735_, LivingEntity p_26736_) private static boolean
isValidRepellent
(ServerLevel p_26729_, BlockPos p_26730_) Set
<MemoryModuleType<?>> requires()
从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, rememberPositives, tick, wasEntityAttackableLastNTicks
-
构造器详细资料
-
PiglinSpecificSensor
public PiglinSpecificSensor()
-
-
方法详细资料
-
requires
- 指定者:
requires
在类中Sensor<LivingEntity>
-
doTick
- 指定者:
doTick
在类中Sensor<LivingEntity>
-
findNearestRepellent
-
isValidRepellent
-