Class OperatorVec3Delegating
java.lang.Object
at.petrak.hexcasting.api.casting.arithmetic.operator.Operator
at.petrak.hexcasting.api.casting.arithmetic.operator.OperatorBasic
at.petrak.hexcasting.common.casting.arithmetic.operator.vec.OperatorVec3Delegating
public class OperatorVec3Delegating
extends at.petrak.hexcasting.api.casting.arithmetic.operator.OperatorBasic
-
Nested Class Summary
Nested classes/interfaces inherited from class at.petrak.hexcasting.api.casting.arithmetic.operator.Operator
at.petrak.hexcasting.api.casting.arithmetic.operator.Operator.Companion -
Field Summary
Fields inherited from class at.petrak.hexcasting.api.casting.arithmetic.operator.Operator
accepts, arity, Companion -
Constructor Summary
ConstructorsConstructorDescriptionOperatorVec3Delegating(BiFunction<net.minecraft.world.phys.Vec3, net.minecraft.world.phys.Vec3, Iota> core, at.petrak.hexcasting.api.casting.math.HexPattern fallback) -
Method Summary
Modifier and TypeMethodDescriptionapply(Iterable<? extends Iota> iotas, @NotNull CastingEnvironment env) static net.minecraft.world.phys.Vec3triplicate(double in) Methods inherited from class at.petrak.hexcasting.api.casting.arithmetic.operator.OperatorBasic
operateMethods inherited from class at.petrak.hexcasting.api.casting.arithmetic.operator.Operator
downcast
-
Constructor Details
-
OperatorVec3Delegating
public OperatorVec3Delegating(BiFunction<net.minecraft.world.phys.Vec3, net.minecraft.world.phys.Vec3, Iota> core, at.petrak.hexcasting.api.casting.math.HexPattern fallback)
-
-
Method Details
-
apply
@NotNull public @NotNull Iterable<Iota> apply(Iterable<? extends Iota> iotas, @NotNull @NotNull CastingEnvironment env) throws at.petrak.hexcasting.api.casting.mishaps.Mishap - Specified by:
applyin classat.petrak.hexcasting.api.casting.arithmetic.operator.OperatorBasic- Throws:
at.petrak.hexcasting.api.casting.mishaps.Mishap
-
triplicate
public static net.minecraft.world.phys.Vec3 triplicate(double in)
-