Class Vec3Iota

java.lang.Object
at.petrak.hexcasting.api.casting.iota.Iota
at.petrak.hexcasting.api.casting.iota.Vec3Iota

public class Vec3Iota extends Iota
  • Field Details

  • Constructor Details

    • Vec3Iota

      public Vec3Iota(@NotNull @NotNull net.minecraft.world.phys.Vec3 datum)
  • Method Details

    • getVec3

      public net.minecraft.world.phys.Vec3 getVec3()
    • isTruthy

      public boolean isTruthy()
      Specified by:
      isTruthy in class Iota
    • toleratesOther

      public boolean toleratesOther(Iota that)
      Description copied from class: Iota
      Compare this to another object, within a tolerance.
      Specified by:
      toleratesOther in class Iota
    • serialize

      @NotNull public @NotNull net.minecraft.nbt.Tag serialize()
      Description copied from class: Iota
      Serialize this under the data tag.

      You probably don't want to call this directly; use IotaType.serialize(at.petrak.hexcasting.api.casting.iota.Iota).

      Specified by:
      serialize in class Iota
    • deserialize

      public static Vec3Iota deserialize(net.minecraft.nbt.Tag tag) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • display

      public static net.minecraft.network.chat.Component display(double x, double y, double z)
    • display

      public static net.minecraft.network.chat.Component display(net.minecraft.world.phys.Vec3 v)