mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-14 03:36:03 +00:00
Location is gone.
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
package com.dfsek.terra.api.vector;
|
||||
|
||||
import com.dfsek.terra.api.world.World;
|
||||
|
||||
public interface Location extends Cloneable {
|
||||
void setWorld(World world);
|
||||
|
||||
Vector3 getVector();
|
||||
|
||||
void setVector(Vector3 vector);
|
||||
|
||||
Location clone();
|
||||
|
||||
int getBlockX();
|
||||
|
||||
int getBlockY();
|
||||
|
||||
int getBlockZ();
|
||||
|
||||
double getY();
|
||||
|
||||
Location setY(double y);
|
||||
|
||||
double getX();
|
||||
|
||||
Location setX(double x);
|
||||
|
||||
double getZ();
|
||||
|
||||
Location setZ(double z);
|
||||
|
||||
World getWorld();
|
||||
|
||||
Location add(double x, double y, double z);
|
||||
|
||||
Location subtract(int x, int y, int z);
|
||||
|
||||
Location add(Vector3 add);
|
||||
|
||||
Location add(Location add);
|
||||
|
||||
double getPitch();
|
||||
|
||||
void setPitch(double pitch);
|
||||
|
||||
double getYaw();
|
||||
|
||||
void setYaw(double yaw);
|
||||
|
||||
Vector3 toVector();
|
||||
|
||||
Location multiply(double v);
|
||||
}
|
||||
@@ -155,8 +155,6 @@ public interface Vector3 extends Cloneable {
|
||||
*/
|
||||
double dot(@NotNull Vector3 other);
|
||||
|
||||
Location toLocation(World world);
|
||||
|
||||
Vector3 normalize();
|
||||
|
||||
Vector3 subtract(int x, int y, int z);
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.dfsek.terra.api.world;
|
||||
|
||||
import com.dfsek.terra.api.block.BlockData;
|
||||
import com.dfsek.terra.api.config.WorldConfig;
|
||||
import com.dfsek.terra.api.vector.Location;
|
||||
import com.dfsek.terra.api.vector.Vector3;
|
||||
import com.dfsek.terra.api.world.biome.generation.BiomeProvider;
|
||||
|
||||
@@ -25,7 +24,5 @@ public interface TerraWorld {
|
||||
*/
|
||||
BlockData getUngeneratedBlock(int x, int y, int z);
|
||||
|
||||
BlockData getUngeneratedBlock(Location l);
|
||||
|
||||
BlockData getUngeneratedBlock(Vector3 v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user