Class Vec3Iota
java.lang.Object
at.petrak.hexcasting.api.casting.iota.Iota
at.petrak.hexcasting.api.casting.iota.Vec3Iota
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Vec3Iotadeserialize(net.minecraft.nbt.Tag tag) static net.minecraft.network.chat.Componentdisplay(double x, double y, double z) static net.minecraft.network.chat.Componentdisplay(net.minecraft.world.phys.Vec3 v) net.minecraft.world.phys.Vec3getVec3()booleanisTruthy()@NotNull net.minecraft.nbt.TagSerialize this under thedatatag.booleantoleratesOther(Iota that) Compare this to another object, within a tolerance.
-
Field Details
-
TYPE
-
-
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() -
toleratesOther
Description copied from class:IotaCompare this to another object, within a tolerance.- Specified by:
toleratesOtherin classIota
-
serialize
@NotNull public @NotNull net.minecraft.nbt.Tag serialize()Description copied from class:IotaSerialize this under thedatatag.You probably don't want to call this directly; use
IotaType.serialize(at.petrak.hexcasting.api.casting.iota.Iota). -
deserialize
- 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)
-