BlockDamagedEvent

By: Taylor Kelly <tkelly910@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-01-10 06:34:59 +08:00
parent 02b2e4114c
commit a0d64be250
5 changed files with 68 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
package org.bukkit;
public enum BlockDamageLevel {
STARTED(0), DIGGING(1), BROKEN(3), STOPPED(2);
private int level;
private BlockDamageLevel(final int level) {
this.level = level;
}
public int getLevel() {
return level;
}
}