diff options
author | IlmarsXd <ilmars500@gmail.com> | 2023-03-21 17:37:12 +0200 |
---|---|---|
committer | IlmarsXd <ilmars500@gmail.com> | 2023-03-21 17:37:12 +0200 |
commit | 623f260e2f1d586336fca13dc86bf2ffb0c6565c (patch) | |
tree | d54f367541619b80ae1863f5acb3d9f09de7bada /src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java | |
parent | e7723d5ff52da94eb65992b5bdd9c5bb316d5959 (diff) | |
download | DulkirMod-623f260e2f1d586336fca13dc86bf2ffb0c6565c.tar.gz DulkirMod-623f260e2f1d586336fca13dc86bf2ffb0c6565c.tar.bz2 DulkirMod-623f260e2f1d586336fca13dc86bf2ffb0c6565c.zip |
refactor modules
Diffstat (limited to 'src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java')
-rw-r--r-- | src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java b/src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java index d746c23..bc9b48c 100644 --- a/src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java +++ b/src/main/java/dulkirmod/mixins/MixinEntityLivingBase.java @@ -14,9 +14,11 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin({EntityLivingBase.class}) public abstract class MixinEntityLivingBase extends MixinEntity { - @Shadow public abstract boolean isPotionActive(Potion potionIn); + @Shadow + public abstract boolean isPotionActive(Potion potionIn); - @Shadow public abstract PotionEffect getActivePotionEffect(Potion potionIn); + @Shadow + public abstract PotionEffect getActivePotionEffect(Potion potionIn); @Inject(method = "getArmSwingAnimationEnd()I", at = @At("HEAD"), cancellable = true) public void adjustSwingLength(CallbackInfoReturnable<Integer> cir) { |