public abstract class LivingEntityMixin extends Object implements DropsList, DeathChestDefenseEntity
| Constructor and Description |
|---|
LivingEntityMixin() |
| Modifier and Type | Method and 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) |
public List<net.minecraft.entity.ItemEntity> getDrops()
public void setDeathChest(DeathChest deathChest)
setDeathChest in interface DeathChestDefenseEntitydeathChest - a death chest.public void dropHead(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void dropTail(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void tick(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void writeCustomDataToTag(net.minecraft.nbt.CompoundTag tag,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void readCustomDataFromTag(net.minecraft.nbt.CompoundTag tag,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void dropLoot(net.minecraft.entity.damage.DamageSource source,
boolean recentlyHit,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void dropEquipment(net.minecraft.entity.damage.DamageSource source,
int lootingModifier,
boolean recentlyHit,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
public void dropXp(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)