Commits
md_5 authored 9d0ad3184ec
498 498 | /** |
499 499 | * Sets the players current food level |
500 500 | * |
501 501 | * @param value New food level |
502 502 | */ |
503 503 | public void setFoodLevel(int value); |
504 504 | |
505 505 | /** |
506 506 | * Get the regeneration rate (1 health per x ticks) of |
507 507 | * the HumanEntity when they have saturation and |
508 - | * their food level is >= 20. Default is 10. |
508 + | * their food level is {@literal >=} 20. Default is 10. |
509 509 | * |
510 510 | * @return the regeneration rate |
511 511 | */ |
512 512 | public int getSaturatedRegenRate(); |
513 513 | |
514 514 | /** |
515 515 | * Set the regeneration rate (1 health per x ticks) of |
516 516 | * the HumanEntity when they have saturation and |
517 - | * their food level is >= 20. Default is 10. |
517 + | * their food level is {@literal >=} 20. Default is 10. |
518 518 | * Not affected if the world's difficulty is peaceful. |
519 519 | * |
520 520 | * @param ticks the amount of ticks to gain 1 health. |
521 521 | */ |
522 522 | public void setSaturatedRegenRate(int ticks); |
523 523 | |
524 524 | /** |
525 525 | * Get the regeneration rate (1 health per x ticks) of |
526 526 | * the HumanEntity when they have no saturation and |
527 - | * their food level is >= 18. Default is 80. |
527 + | * their food level is {@literal >=} 18. Default is 80. |
528 528 | * |
529 529 | * @return the regeneration rate |
530 530 | */ |
531 531 | public int getUnsaturatedRegenRate(); |
532 532 | |
533 533 | /** |
534 534 | * Get the regeneration rate (1 health per x ticks) of |
535 535 | * the HumanEntity when they have no saturation and |
536 - | * their food level is >= 18. Default is 80. |
536 + | * their food level is {@literal >=} 18. Default is 80. |
537 537 | * Not affected if the world's difficulty is peaceful. |
538 538 | * |
539 539 | * @param ticks the amount of ticks to gain 1 health. |
540 540 | */ |
541 541 | public void setUnsaturatedRegenRate(int ticks); |
542 542 | |
543 543 | /** |
544 544 | * Get the starvation rate (1 health per x ticks) of |
545 545 | * the HumanEntity. Default is 80. |
546 546 | * |