Package net.minestom.server.event.player
Class PlayerEditSignEvent
java.lang.Object
net.minestom.server.event.player.PlayerEditSignEvent
- All Implemented Interfaces:
Event
,BlockEvent
,EntityEvent
,EntityInstanceEvent
,InstanceEvent
,PlayerEvent
,PlayerInstanceEvent
-
Constructor Summary
Constructors -
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
-
PlayerEditSignEvent
-
-
Method Details
-
getPlayer
Description copied from interface:PlayerEvent
Gets the player.- Specified by:
getPlayer
in interfacePlayerEvent
- Returns:
- the player
-
getBlock
- Specified by:
getBlock
in interfaceBlockEvent
-
getBlockPosition
- Specified by:
getBlockPosition
in interfaceBlockEvent
-
getLines
Returns a list of strings representing the lines typed by the player onto the sign. The length is always exactly 4. -
isFrontText
public boolean isFrontText()
-