Class Vec3Mutable

java.lang.Object
com.minecolonies.api.util.Vec3Mutable

public class Vec3Mutable extends Object
Helper class for storing a mutable vector
  • Constructor Details

    • Vec3Mutable

      public Vec3Mutable(double x, double y, double z)
  • Method Details

    • set

      public void set(double x, double y, double z)
    • createEmpty

      public static Vec3Mutable createEmpty()
    • asBlockPos

      public net.minecraft.core.BlockPos asBlockPos()
    • asVec3

      public net.minecraft.world.phys.Vec3 asVec3()
    • empty

      public boolean empty()
    • setEmpty

      public void setEmpty()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • getXi

      public int getXi()
    • getYi

      public int getYi()
    • getZi

      public int getZi()
    • toString

      public String toString()
      Overrides:
      toString in class Object