Package | Description |
---|---|
net.risingworld.api.events.player.world |
Modifier and Type | Method and Description |
---|---|
PlayerWorldHitEvent.Type |
PlayerWorldHitEvent.getType()
Gets the world hit type, i.e. if the player hit terrain, blocks etc.
|
static PlayerWorldHitEvent.Type |
PlayerWorldHitEvent.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerWorldHitEvent.Type[] |
PlayerWorldHitEvent.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PlayerWorldHitEvent(Player player,
float hitx,
float hity,
float hitz,
short dmg,
short id,
int cx,
int cy,
int cz,
int bx,
int by,
int bz,
PlayerWorldHitEvent.Type type) |