move spawnEntity to WorldAccess

This commit is contained in:
dfsek
2021-11-28 11:35:12 -07:00
parent a52271dfb9
commit b880b6592b
5 changed files with 27 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ import com.dfsek.terra.api.world.chunk.generation.ChunkGenerator;
public class DummyWorld implements World {
@Override
public Entity spawnEntity(Vector3 location, EntityType entityType) {
public Entity spawnEntity(double x, double y, double z, EntityType entityType) {
throw new UnsupportedOperationException("Cannot spawn entity in DummyWorld");
}