}
NearbyMaterialHolderSensor materialHolderSensor = new NearbyMaterialHolderSensor(getAI(), VanillaMaterials.WHEAT);
materialHolderSensor.setSensorRadius(16);
getAI().registerSensor(materialHolderSensor);
getAI().registerGoal(new FollowMaterialHolderGoal(getAI()));
getAI().registerAction(new FollowMaterialHolderAction(getAI()));
// Add metadata for the wool state of the Sheep
getOwner().add(MetadataComponent.class).addMeta(new Metadata<Byte>(Metadata.TYPE_BYTE, 16) {
@Override
public Byte getValue() {