Package net.minestom.server.event.player
Class PlayerAnvilInputEvent
java.lang.Object
net.minestom.server.event.player.PlayerAnvilInputEvent
- All Implemented Interfaces:
Event
,EntityEvent
,EntityInstanceEvent
,InstanceEvent
,InventoryEvent
,PlayerEvent
,PlayerInstanceEvent
Called every time a
Player
types a letter in an anvil GUI.- See Also:
-
Constructor Summary
ConstructorDescriptionPlayerAnvilInputEvent
(@NotNull Player player, @NotNull Inventory inventory, @NotNull String input) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minestom.server.event.trait.EntityInstanceEvent
getInstance
Methods inherited from interface net.minestom.server.event.trait.PlayerEvent
getEntity
-
Constructor Details
-
PlayerAnvilInputEvent
-
-
Method Details
-
getPlayer
Description copied from interface:PlayerEvent
Gets the player.- Specified by:
getPlayer
in interfacePlayerEvent
- Returns:
- the player
-
getInput
-
getInventory
Description copied from interface:InventoryEvent
Gets the inventory that was clicked.- Specified by:
getInventory
in interfaceInventoryEvent
-