net.minecraft.block.spawner

public interface EntityDetector

net.minecraft.world.level.block.entity.trialspawner.PlayerDetector
net.minecraft.world.level.block.entity.trialspawner.PlayerDetector
net.minecraft.class_8962
net.minecraft.block.spawner.EntityDetector

Field summary

Modifier and TypeField
EntityDetector
NO_CREATIVE_PLAYERS
NO_CREATIVE_PLAYERS
field_48860
SURVIVAL_PLAYERS
EntityDetector
INCLUDING_CREATIVE_PLAYERS
INCLUDING_CREATIVE_PLAYERS
field_48861
NON_SPECTATOR_PLAYERS
EntityDetector
SHEEP
SHEEP
field_47357
SHEEP

Method summary

Modifier and TypeMethod
List<UUID>
detect(ServerLevel level, PlayerDetector$EntitySelector selector, BlockPos spawnerPos, double requiredPlayerRange, boolean requireLineOfSight)
detect(ServerLevel level, PlayerDetector$EntitySelector selector, BlockPos spawnerPos, double requiredPlayerRange, boolean requireLineOfSight)
method_1_318(class_3218 arg0, class_8962$class_9198 arg1, class_2338 arg2, double arg3, boolean arg4)
detect(ServerWorld world, EntityDetector$Selector selector, BlockPos center, double radius, boolean spawner)
private static boolean
inLineOfSight(Level level, Vec3 origin, Vec3 dest)
inLineOfSight(Level level, Vec3 origin, Vec3 dest)
method_58696(class_1937 arg0, class_243 arg1, class_243 arg2)
hasLineOfSight(World world, Vec3d pos, Vec3d entityEyePos)