Class CuriosInventoryHook

java.lang.Object
com.breakinblocks.graveless.integration.curios.CuriosInventoryHook
All Implemented Interfaces:
InventoryHook

public class CuriosInventoryHook extends Object implements InventoryHook
  • Field Details

  • Constructor Details

    • CuriosInventoryHook

      public CuriosInventoryHook()
  • Method Details

    • id

      public String id()
      Specified by:
      id in interface InventoryHook
    • prepareDrops

      public void prepareDrops(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.damagesource.DamageSource source)
      Specified by:
      prepareDrops in interface InventoryHook
    • capture

      public List<CapturedEntry> capture(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.damagesource.DamageSource source)
      Specified by:
      capture in interface InventoryHook
    • restore

      public net.minecraft.world.item.ItemStack restore(net.minecraft.server.level.ServerPlayer player, CapturedEntry entry)
      Specified by:
      restore in interface InventoryHook