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 Jan 19, 2014
1 parent c7d4056 commit 0db2f0c
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 @@ -808,6 +808,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 0db2f0c

Please sign in to comment.