Permalink
Browse files

Add block "name" to block events

  • Loading branch information...
PseudoKnight committed Dec 18, 2017
1 parent 7858186 commit 5f18dc38c9582cdda803acbe51bdbaaca25d0fbb
@@ -20,6 +20,8 @@
public byte getData();
public void setType(MCMaterial mat);
@Deprecated
public void setTypeId(int idata);
@@ -7,7 +7,6 @@
public interface MCMaterial extends AbstractionObject {
short getMaxDurability();
@Deprecated
int getType();
MCMaterialData getData();
String getName();
@@ -53,6 +53,11 @@ public byte getData(){
return b.getData();
}
@Override
public void setType(MCMaterial mat) {
b.setType((Material) mat.getHandle());
}
@Override
public void setTypeId(int idata) {
b.setTypeId(idata);
Oops, something went wrong.

0 comments on commit 5f18dc3

Please sign in to comment.