Package net.minecraft.world.entity
Interface SpawnPlacements.SpawnPredicate<T extends Entity>
- Enclosing class:
SpawnPlacements
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionbooleantest(EntityType<T> entityType, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
-
Method Details
-
test
boolean test(EntityType<T> entityType, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
-