Class DimensionChangeEvent
java.lang.Object
com.welcome234.pluginsystem.events.DimensionChangeEvent
Called when a player switches dimension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the dimension the player has switched toGets the player who changed dimension
-
Constructor Details
-
DimensionChangeEvent
-
-
Method Details
-
getPlayer
Gets the player who changed dimension- Returns:
- Player instance
-
getDimension
public boolean getDimension()Gets the dimension the player has switched to- Returns:
- Dimension (false = Overworld, true = End)
-