Class MixinLootItemKilledByPlayerCondition

java.lang.Object
net.darkhax.bookshelf.mixin.patches.loot.MixinLootItemKilledByPlayerCondition

public class MixinLootItemKilledByPlayerCondition extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    test(net.minecraft.world.level.storage.loot.LootContext context, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> callback)
    This patch allows mobs that were killed with Bookshelfs fake player damage to satisfy the minecraft:killed_by_player loot condition.

    Methods inherited from class java.lang.Object

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

    • MixinLootItemKilledByPlayerCondition

      public MixinLootItemKilledByPlayerCondition()
  • Method Details

    • test

      public void test(net.minecraft.world.level.storage.loot.LootContext context, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> callback)
      This patch allows mobs that were killed with Bookshelfs fake player damage to satisfy the minecraft:killed_by_player loot condition.