Package net.minecraft.entity
Interface SpawnRestriction.SpawnPredicate<T extends Entity>
- Enclosing class:
- SpawnRestriction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface SpawnRestriction.SpawnPredicate<T extends Entity>
-
Method Summary
Modifier and Type Method Description boolean
test(EntityType<T> type, ServerWorldAccess serverWorldAccess, SpawnReason spawnReason, BlockPos pos, Random random)
-
Method Details
-
test
boolean test(EntityType<T> type, ServerWorldAccess serverWorldAccess, SpawnReason spawnReason, BlockPos pos, Random random)
-