yarn/mappings/net/minecraft/item/FoodComponent.mapping

68 lines
3.3 KiB
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_4174 net/minecraft/item/FoodComponent
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Represents the components that make up the properties of a food item.
2019-06-28 17:55:20 -04:00
FIELD field_18614 hunger I
FIELD field_18615 saturationModifier F
FIELD field_18616 meat Z
FIELD field_18617 alwaysEdible Z
FIELD field_18618 snack Z
FIELD field_18619 statusEffects Ljava/util/List;
METHOD <init> (IFZZZLjava/util/List;)V
ARG 1 hunger
ARG 2 saturationModifier
ARG 3 meat
ARG 4 alwaysEdible
ARG 5 snack
ARG 6 statusEffects
2019-06-28 17:55:20 -04:00
METHOD method_19230 getHunger ()I
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Gets the amount of hunger a food item will fill.
COMMENT
COMMENT <p>One hunger is equivalent to half of a hunger bar icon.
2019-06-28 17:55:20 -04:00
METHOD method_19231 getSaturationModifier ()F
COMMENT Gets the saturation modifier of a food item.
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT
COMMENT <p>This value is typically used to determine how long a player can sustain the current hunger value before the hunger is used.
2019-06-28 17:55:20 -04:00
METHOD method_19232 isMeat ()Z
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Checks if a food item can be fed to dogs.
2019-06-28 17:55:20 -04:00
METHOD method_19233 isAlwaysEdible ()Z
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Checks if a food item can be eaten when the current hunger bar is full.
2019-06-28 17:55:20 -04:00
METHOD method_19234 isSnack ()Z
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Checks if a food item is snack-like and is eaten quickly.
2019-06-28 17:55:20 -04:00
METHOD method_19235 getStatusEffects ()Ljava/util/List;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Gets a list of all status effect instances that may be applied when a food item is consumed.
COMMENT
COMMENT <p>The first value in the pair is the status effect instance to be applied.
COMMENT <p>The second value is the chance the status effect gets applied, on a scale between {@code 0.0F} and {@code 1.0F}.
CLASS class_4175 Builder
FIELD field_18620 hunger I
FIELD field_18621 saturationModifier F
FIELD field_18622 meat Z
FIELD field_18623 alwaysEdible Z
FIELD field_18624 snack Z
FIELD field_18625 statusEffects Ljava/util/List;
METHOD method_19236 meat ()Lnet/minecraft/class_4174$class_4175;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Specifies that a food item can be fed to dogs.
METHOD method_19237 saturationModifier (F)Lnet/minecraft/class_4174$class_4175;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Specifies the saturation modifier of a food item.
COMMENT
COMMENT <p>This value is typically used to determine how long a player can sustain the current hunger value before the hunger is used.
ARG 1 saturationModifier
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT the saturation modifier
METHOD method_19238 hunger (I)Lnet/minecraft/class_4174$class_4175;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Specifies the amount of hunger a food item will fill.
COMMENT
COMMENT <p>One hunger is equivalent to half of a hunger bar icon.
ARG 1 hunger
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT the amount of hunger
METHOD method_19239 statusEffect (Lnet/minecraft/class_1293;F)Lnet/minecraft/class_4174$class_4175;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Specifies a status effect to apply to an entity when a food item is consumed.
COMMENT This method may be called multiple times to apply several status effects when food is consumed.
ARG 1 effect
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT the effect instance to apply
ARG 2 chance
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT the chance the status effect is applied, on a scale of {@code 0.0F} to {@code 1.0F}
METHOD method_19240 alwaysEdible ()Lnet/minecraft/class_4174$class_4175;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Specifies that a food item can be eaten when the current hunger bar is full.
METHOD method_19241 snack ()Lnet/minecraft/class_4174$class_4175;
Document FoodComponent and it's builder (#1667) * Document FoodComponent and it's builder * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/item/FoodComponent.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-12 03:20:57 -04:00
COMMENT Specifies that a food item is snack-like and is eaten quickly.
METHOD method_19242 build ()Lnet/minecraft/class_4174;