Exemplo n.º 1
0
 /**
  * Gets whether this liquid is at it's maximum level
  *
  * @param block of the liquid
  * @return True if it is at the maximum level, False if not
  */
 public boolean isMaximumLevel(Block block) {
   return block.getDataField(0x7) == 0x0;
 }
Exemplo n.º 2
0
 @Override
 public int getGrowthStage(Block block) {
   return block.getDataField(0x7);
 }