So
```java
if (itemfood.i() && this.datawatcher.getInt(18) < this.maxHealth) { // CraftBukkit - 20 -> this.maxHealth
```