Package de.z0rdak.yawp.mixin.flag.player
Class PlayerMixin
java.lang.Object
de.z0rdak.yawp.mixin.flag.player.PlayerMixin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAttackEntity(net.minecraft.world.entity.Entity target, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidonGainExperience(int experience, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidonGainLevels(int levels, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidonHurt(net.minecraft.world.damagesource.DamageSource source, float amount, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidonReceiveDamage(net.minecraft.world.damagesource.DamageSource damageSource, float amount, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-
Constructor Details
-
PlayerMixin
public PlayerMixin()
-
-
Method Details
-
onGainLevels
public void onGainLevels(int levels, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
onGainExperience
public void onGainExperience(int experience, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
onHurt
public void onHurt(net.minecraft.world.damagesource.DamageSource source, float amount, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
onReceiveDamage
public void onReceiveDamage(net.minecraft.world.damagesource.DamageSource damageSource, float amount, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
onAttackEntity
public void onAttackEntity(net.minecraft.world.entity.Entity target, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-