net.minecraft.entity.ai.brain.sensor

public class PiglinSpecificSensor

extends Sensor<LivingEntity>

net.minecraft.world.entity.ai.sensing.PiglinSpecificSensor
net.minecraft.class_4834
net.minecraft.entity.ai.brain.sensor.PiglinSpecificSensor

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Set<MemoryModuleType<?>>
requires()
method_19099()
getOutputMemoryModules()
protected void
doTick(ServerLevel level, LivingEntity body)
method_19101(class_3218 arg0, class_1309 arg1)
sense(ServerWorld arg0, LivingEntity arg1)
private static Optional<BlockPos>
findNearestRepellent(ServerLevel level, LivingEntity body)
method_24649(class_3218 arg0, class_1309 arg1)
findPiglinRepellent(ServerWorld world, LivingEntity entity)
private static boolean
isValidRepellent(ServerLevel level, BlockPos pos)
method_24648(class_3218 arg0, class_2338 arg1)
isPiglinRepellent(ServerWorld world, BlockPos pos)
private static boolean
lambda$findNearestRepellent$1(ServerLevel arg0, BlockPos arg1)
method_30077(class_3218 arg0, class_2338 arg1)
method_30077(ServerWorld arg0, BlockPos pos)
private static boolean
lambda$doTick$0(LivingEntity arg0)
method_38984(class_1309 arg0)
method_38984(LivingEntity arg0)