Class LivingEntityMixin
java.lang.Object
de.cech12.usefulhats.mixin.LivingEntityMixin
Mixin for the LivingEntity class to add hat event handling.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddropAllDeathLootProxy(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.damagesource.DamageSource damageSource, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidequipmentHasChangedProxy(net.minecraft.world.item.ItemStack fromItemStack, net.minecraft.world.item.ItemStack toItemStack, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir) voidjumpFromGroundProxy(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidstartUsingItemProxy(net.minecraft.world.InteractionHand interactionHand, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-
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)
-