more command stuff

This commit is contained in:
dfsek
2021-03-09 20:05:42 -07:00
parent 31b583910e
commit f5c0174473
23 changed files with 151 additions and 424 deletions

View File

@@ -85,11 +85,6 @@ public class FabricWorld implements World, FabricWorldHandle {
return ((ServerWorldAccess) ((FabricWorld) obj).delegate.world).toServerWorld().equals(((ServerWorldAccess) delegate.world).toServerWorld());
}
@Override
public Block getBlockAt(Location l) {
return getBlockAt(l.getBlockX(), l.getBlockY(), l.getBlockZ());
}
@Override
public Entity spawnEntity(Location location, EntityType entityType) {
net.minecraft.entity.Entity entity = FabricAdapter.adapt(entityType).create(delegate.world);

View File

@@ -73,11 +73,6 @@ public class FabricSeededWorldAccess implements World, FabricWorldHandle {
return new FabricBlock(pos, handle.worldAccess);
}
@Override
public Block getBlockAt(Location l) {
return getBlockAt(l.getBlockX(), l.getBlockY(), l.getBlockZ());
}
@Override
public Entity spawnEntity(Location location, EntityType entityType) {
net.minecraft.entity.Entity entity = FabricAdapter.adapt(entityType).create((ServerWorld) handle.worldAccess);

View File

@@ -72,11 +72,6 @@ public class FabricWorldAccess implements World, FabricWorldHandle {
return new FabricBlock(pos, delegate);
}
@Override
public Block getBlockAt(Location l) {
return getBlockAt(l.getBlockX(), l.getBlockY(), l.getBlockZ());
}
@Override
public Entity spawnEntity(Location location, EntityType entityType) {
net.minecraft.entity.Entity entity = FabricAdapter.adapt(entityType).create(((ServerWorldAccess) delegate).toServerWorld());