Class MixinLootItemKilledByPlayerCondition
java.lang.Object
net.darkhax.bookshelf.mixin.patches.loot.MixinLootItemKilledByPlayerCondition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtest(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.
-
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.
-