Skip to content

Commit

Permalink
Player Collision API
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 authored and SpigotMC committed Sep 4, 2014
1 parent 0f48156 commit 26c480d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/main/java/org/bukkit/entity/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,27 @@ public void playEffect(Location location, Effect effect, int id, int data, float
{
throw new UnsupportedOperationException( "Not supported yet." );
}

/**
* Gets whether the player collides with entities
*
* @return the player's collision toggle state
*/
public boolean getCollidesWithEntities()
{
throw new UnsupportedOperationException( "Not supported yet." );
}

/**
* Sets whether the player collides with entities
*
* @param collides whether the player should collide with entities or
* not.
*/
public void setCollidesWithEntities(boolean collides)
{
throw new UnsupportedOperationException( "Not supported yet." );
}
}

Spigot spigot();
Expand Down

0 comments on commit 26c480d

Please sign in to comment.