Class LivingEntityMixin

java.lang.Object
de.cech12.usefulhats.mixin.LivingEntityMixin

public class LivingEntityMixin extends Object
Mixin for the LivingEntity class to add hat event handling.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dropAllDeathLootProxy(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.damagesource.DamageSource damageSource, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    equipmentHasChangedProxy(net.minecraft.world.item.ItemStack fromItemStack, net.minecraft.world.item.ItemStack toItemStack, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
     
    void
    jumpFromGroundProxy(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    startUsingItemProxy(net.minecraft.world.InteractionHand interactionHand, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • useItemRemaining

      protected int useItemRemaining
  • Constructor Details

    • LivingEntityMixin

      public LivingEntityMixin()
  • Method Details

    • dropAllDeathLootProxy

      public void dropAllDeathLootProxy(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.damagesource.DamageSource damageSource, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • startUsingItemProxy

      public void startUsingItemProxy(net.minecraft.world.InteractionHand interactionHand, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • equipmentHasChangedProxy

      public void equipmentHasChangedProxy(net.minecraft.world.item.ItemStack fromItemStack, net.minecraft.world.item.ItemStack toItemStack, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
    • jumpFromGroundProxy

      public void jumpFromGroundProxy(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)