mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Update docs for Enderman carrying methods
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7914e5e323
commit
bc79e54afd
@ -25,14 +25,14 @@ public interface Enderman extends Monster {
|
|||||||
/**
|
/**
|
||||||
* Gets the data of the block that the Enderman is carrying.
|
* Gets the data of the block that the Enderman is carrying.
|
||||||
*
|
*
|
||||||
* @return BlockData containing the carried block
|
* @return BlockData containing the carried block, or null if none
|
||||||
*/
|
*/
|
||||||
public BlockData getCarriedBlock();
|
public BlockData getCarriedBlock();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the data of the block that the Enderman is carrying.
|
* Sets the data of the block that the Enderman is carrying.
|
||||||
*
|
*
|
||||||
* @param blockData data to set the carried block to
|
* @param blockData data to set the carried block to, or null to remove
|
||||||
*/
|
*/
|
||||||
public void setCarriedBlock(BlockData blockData);
|
public void setCarriedBlock(BlockData blockData);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user