Class LivingEntityMixin

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dropEquipment​(net.minecraft.entity.damage.DamageSource source, int lootingModifier, boolean recentlyHit, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      void dropHead​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      void dropLoot​(net.minecraft.entity.damage.DamageSource source, boolean recentlyHit, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      void dropTail​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      void dropXp​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      List<net.minecraft.entity.ItemEntity> getDrops()
      Returns the player drops.
      void readCustomDataFromTag​(net.minecraft.nbt.CompoundTag tag, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      void setDeathChest​(DeathChest deathChest)
      Sets the death chest.
      void tick​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
      void writeCustomDataToTag​(net.minecraft.nbt.CompoundTag tag, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)  
    • Constructor Detail

      • LivingEntityMixin

        public LivingEntityMixin()
    • Method Detail

      • getDrops

        public List<net.minecraft.entity.ItemEntity> getDrops()
        Returns the player drops.
        Specified by:
        getDrops in interface DropsList
        Returns:
        the player ItemEntity drops.
      • dropHead

        public void dropHead​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • dropTail

        public void dropTail​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • tick

        public void tick​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • writeCustomDataToTag

        public void writeCustomDataToTag​(net.minecraft.nbt.CompoundTag tag,
                                         org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • readCustomDataFromTag

        public void readCustomDataFromTag​(net.minecraft.nbt.CompoundTag tag,
                                          org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • dropLoot

        public void dropLoot​(net.minecraft.entity.damage.DamageSource source,
                             boolean recentlyHit,
                             org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • dropEquipment

        public void dropEquipment​(net.minecraft.entity.damage.DamageSource source,
                                  int lootingModifier,
                                  boolean recentlyHit,
                                  org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
      • dropXp

        public void dropXp​(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)