Interface PlayerEvent.CloseMenu
- Enclosing interface:
 - PlayerEvent
 
public static interface PlayerEvent.CloseMenu
- 
Method Summary
Modifier and TypeMethodDescriptionvoidclose(net.minecraft.world.entity.player.Player player, net.minecraft.world.inventory.AbstractContainerMenu menu) Invoked when a player closes a menu. 
- 
Method Details
- 
close
void close(net.minecraft.world.entity.player.Player player, net.minecraft.world.inventory.AbstractContainerMenu menu) Invoked when a player closes a menu. Equivalent to Forge'sPlayerContainerEvent.Closeevent.- Parameters:
 player- The player closing the menu.menu- The menu that is closed.
 
 -