13
0
geforkt von Mirrors/Paper
Paper/paper-api
Bukkit/Spigot 8feccf30cc EntityExplodeEvent: Add constructor that takes yeild parameter
The Ender Dragon causes blocks to explode as it flies through them.
These blocks by default do not drop any items, so the default yeild for
this explosion event is 0. Previously the event had the default value
hard-coded to 0.3F, which is inaccurate in this situation.

We derecate the constructor with no yield, as any default yield should
really be left up to the implementation to decide, not the API.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 23:56:15 +11:00
..
src EntityExplodeEvent: Add constructor that takes yeild parameter 2011-12-07 23:56:15 +11:00
.gitignore IntelliJ is awesome. 2011-07-05 00:14:31 -04:00
LICENCE.txt We're GPL. 2011-01-02 10:57:42 +01:00
pom.xml Update version to correct one 2011-11-20 00:11:39 -08:00
README.md Updated README for line-ending demands, also fixed line-endigs. 2011-04-25 13:24:32 +02:00

Bukkit

A Minecraft Server API.

Website: http://bukkit.org
Bugs/Suggestions: http://leaky.bukkit.org

Compilation

We use maven to handle our dependencies.

  • Install Maven 3
  • Check out this repo and: mvn clean install

Coding and Pull Request Conventions

  • We generally follow the Sun/Oracle coding standards.
  • No tabs; use 4 spaces instead.
  • No trailing whitespaces.
  • No 80 column limit or midstatement newlines.
  • No CRLF lineendigs, LF only, put your gits 'core.autocrlf' on 'true'
  • Proper javadoc for each method added/changed to describe what it does.
  • The number of commits in a pull request should be kept to a minimum (squish them into one most of the time - use common sense!).
  • No merges should be included in pull requests unless the pull request's purpose is a merge.
  • Pull requests should be tested (does it compile? AND does it work?) before submission.

Follow the above conventions if you want your pull requests accepted.