UseCaptureCrateInteraction
Package: com.hypixel.hytale.builtin.adventure.farming.interactions
public class UseCaptureCrateInteraction extends SimpleBlockInteractionDual-purpose interaction for capture crates. When used on an NPC entity (tick0), captures the NPC into the held item’s metadata as CapturedNPCMetadata. When used on a block (interactWithBlock), either places the captured NPC into a CoopBlock or releases it into the world. Validates NPC groups against acceptedNpcGroupIds.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.