Where is ClickInventoryEvent in sponge 8.0?

In sponge 7.0 the library has ClickInventoryEvent and It has InteractInventoryEvent.Close.

but In sponge 8.0 I couldn’t find the ClickInventoryEvent and not found Inventory Close event.

Please help me.

In sponge api 8. Its called ClickContainerEvent and only supports container inventories

https://jd.spongepowered.org/spongeapi/8.1.0/org/spongepowered/api/event/item/inventory/container/ClickContainerEvent.html

As for close. The change is similar

InteractContainerEvent.Close

https://jd.spongepowered.org/spongeapi/8.1.0/org/spongepowered/api/event/item/inventory/container/InteractContainerEvent.Close.html

1 Like

Thank for you care!