Class StateCaptureMixin
java.lang.Object
johnsmith.enchantmentcore.mixin.enchantment.effect.entity.projectile.StateCaptureMixin
Mixin responsible for evaluating and caching projectile enchantment mechanics.
Executes a lazy initialization pass at the start of the projectile's lifespan to prevent
excessive per-tick LootContext evaluations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable net.minecraft.world.entity.EntitygetOwner()
-
Constructor Details
-
StateCaptureMixin
public StateCaptureMixin()
-
-
Method Details
-
getOwner
@Nullable public abstract @Nullable net.minecraft.world.entity.Entity getOwner()
-