@FunctionalInterface public static interface SpawnRestriction.SpawnPredicate<T extends Entity>
Modifier and Type | Method and Description |
---|---|
boolean |
test(EntityType<T> type,
ServerWorldAccess serverWorldAccess,
SpawnReason spawnReason,
BlockPos pos,
Random random) |
boolean test(EntityType<T> type, ServerWorldAccess serverWorldAccess, SpawnReason spawnReason, BlockPos pos, Random random)