Class VanillaInventoryHook
java.lang.Object
com.breakinblocks.graveless.capture.VanillaInventoryHook
- 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()net.minecraft.world.item.ItemStackrestore(net.minecraft.server.level.ServerPlayer player, CapturedEntry entry) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface InventoryHook
prepareDrops
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
VanillaInventoryHook
public VanillaInventoryHook()
-
-
Method Details
-
id
- Specified by:
idin 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
-