Class CuriosInventoryHook
java.lang.Object
com.breakinblocks.graveless.integration.curios.CuriosInventoryHook
- All Implemented Interfaces:
InventoryHook
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapture(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.damagesource.DamageSource source) id()voidprepareDrops(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.damagesource.DamageSource source) net.minecraft.world.item.ItemStackrestore(net.minecraft.server.level.ServerPlayer player, CapturedEntry entry)
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
CuriosInventoryHook
public CuriosInventoryHook()
-
-
Method Details
-
id
- Specified by:
idin interfaceInventoryHook
-
prepareDrops
public void prepareDrops(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.damagesource.DamageSource source) - Specified by:
prepareDropsin interfaceInventoryHook
-
capture
public List<CapturedEntry> capture(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.damagesource.DamageSource source) - Specified by:
capturein interfaceInventoryHook
-
restore
public net.minecraft.world.item.ItemStack restore(net.minecraft.server.level.ServerPlayer player, CapturedEntry entry) - Specified by:
restorein interfaceInventoryHook
-