- EssentiaCompressor: <init> (uncapped for now)

This commit is contained in:
HellFirePvP committed 2016-04-25 15:27:15 +02:00
1 parent 97476abb2b
commit 68773b0681
31 files changed
+1754 -69

No files matched your search

@@ -1,6 +1,7 @@
package makeo.gadomancy.common.utils;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.util.Vec3;
import java.util.Formatter;
import java.util.Locale;
@@ -48,6 +49,12 @@ public class Vector3 {
this.z = z;
}
public Vector3(Vec3 vec3) {
this.x = vec3.xCoord;
this.y = vec3.yCoord;
this.z = vec3.zCoord;
}
public Vector3 add(Vector3 vec) {
this.x += vec.x;
this.y += vec.y;