Class LivingEntityMixin
- java.lang.Object
-
- com.therandomlabs.vanilladeathchest.mixin.LivingEntityMixin
-
- All Implemented Interfaces:
DeathChestDefenseEntity,DropsList
public abstract class LivingEntityMixin extends Object implements DropsList, DeathChestDefenseEntity
-
-
Constructor Summary
Constructors Constructor Description LivingEntityMixin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddropEquipment(net.minecraft.entity.damage.DamageSource source, int lootingModifier, boolean recentlyHit, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)voiddropHead(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)voiddropLoot(net.minecraft.entity.damage.DamageSource source, boolean recentlyHit, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)voiddropTail(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)voiddropXp(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)List<net.minecraft.entity.ItemEntity>getDrops()Returns the player drops.voidreadCustomDataFromTag(net.minecraft.nbt.CompoundTag tag, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)voidsetDeathChest(DeathChest deathChest)Sets the death chest.voidtick(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)voidwriteCustomDataToTag(net.minecraft.nbt.CompoundTag tag, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
-
-
-
Method Detail
-
getDrops
public List<net.minecraft.entity.ItemEntity> getDrops()
Returns the player drops.
-
setDeathChest
public void setDeathChest(DeathChest deathChest)
Sets the death chest.- Specified by:
setDeathChestin interfaceDeathChestDefenseEntity- Parameters:
deathChest- a death chest.
-
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)
-
-