mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
#996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()
By: 2008Choco <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
d1a68a02b4
commit
4ba949cee7
1 changed files with 3 additions and 3 deletions
|
@ -31,14 +31,14 @@ public interface FoodComponent extends ConfigurationSerializable {
|
||||||
*
|
*
|
||||||
* @return saturation value
|
* @return saturation value
|
||||||
*/
|
*/
|
||||||
float getSaturationModifier();
|
float getSaturation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the saturation restored by this item when eaten.
|
* Sets the saturation restored by this item when eaten.
|
||||||
*
|
*
|
||||||
* @param saturationModifier new saturation value
|
* @param saturation new saturation value
|
||||||
*/
|
*/
|
||||||
void setSaturationModifier(float saturationModifier);
|
void setSaturation(float saturation);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets if this item can be eaten even when not hungry.
|
* Gets if this item can be eaten even when not hungry.
|
||||||
|
|
Loading…
Reference in a new issue