Interface IContainerButtonAction<C extends net.minecraft.world.inventory.AbstractContainerMenu>
public interface IContainerButtonAction<C extends net.minecraft.world.inventory.AbstractContainerMenu>
A server-side button action.
-
Method Summary
-
Method Details
-
onAction
Called when the button with the given id was clicked client-side.- Parameters:
buttonId
- The button id.container
- The container in which the button was clicked.
-