mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-21 04:22:25 +00:00
- EssentiaCompressor: <init> (uncapped for now)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user