Fixed Compile Errors
This commit is contained in:
parent
4ba3a71a68
commit
05eac6f539
79 changed files with 979 additions and 844 deletions
|
@ -6,9 +6,9 @@ import net.minecraft.world.entity.Mob;
|
|||
import net.minecraft.world.entity.MobSpawnType;
|
||||
import net.minecraft.world.level.LevelAccessor;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.Random;import net.minecraft.util.RandomSource;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface SpawnRule<M extends Mob> {
|
||||
boolean canSpawn(EntityType<M> type, LevelAccessor world, MobSpawnType spawnReason, BlockPos pos, Random random);
|
||||
boolean canSpawn(EntityType<M> type, LevelAccessor world, MobSpawnType spawnReason, BlockPos pos, RandomSource random);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue