Changed Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
This commit is contained in:
parent
3e911e1f0d
commit
373c958596
@ -128,8 +128,9 @@ public interface Block {
|
|||||||
* Sets the type-ID of this block
|
* Sets the type-ID of this block
|
||||||
*
|
*
|
||||||
* @param type Type-ID to change this block to
|
* @param type Type-ID to change this block to
|
||||||
|
* @return whether the block was changed
|
||||||
*/
|
*/
|
||||||
void setTypeID(int type);
|
boolean setTypeID(int type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the face relation of this block compared to the given block<br />
|
* Gets the face relation of this block compared to the given block<br />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user