@@ -22,9 +22,12 @@ public final class MealType implements StringRepresentable, Comparable<MealType>
2222 public static final MealType BURRITO = register ("burrito" , 10 , 1f );
2323 public static final MealType CHEESE = register ("cheese" , 3 , 0.1f );
2424 public static final MealType CHEESE_PIZZA = register ("cheese_pizza" , 9 , 0.8f );
25- public static final MealType CHEESE_PIZZA_SLICE = register ("cheese_pizza_slice" , 1 , 0.2f );
26- public static final MealType CHICKEN_NUGGETS = register ("chicken_nuggets" , 1 , 0.2f );
27- public static final MealType CHOCOLATE = register ("chocolate" , 1 , 0.1f );
25+ public static final MealType CHEESE_PIZZA_SLICE = register ("cheese_pizza_slice" , 1 , 0.2f )
26+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0.25f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
27+ public static final MealType CHICKEN_NUGGETS = register ("chicken_nuggets" , 1 , 0.2f )
28+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0.2f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
29+ public static final MealType CHOCOLATE = register ("chocolate" , 1 , 0.1f )
30+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0.1f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
2831 public static final MealType CHOCOLATE_CUPCAKE = register ("chocolate_cupcake" , 4 , 0.3f );
2932 public static final MealType CHOCOLATE_DOUGHNUT = register ("chocolate_doughnut" , 8 , 0.5f );
3033 public static final MealType CHOCOLATE_ICECREAM = register ("chocolate_icecream" , 2 , 0.4f );
@@ -37,31 +40,36 @@ public final class MealType implements StringRepresentable, Comparable<MealType>
3740 public static final MealType FLATBREAD = register ("flatbread" , 6 , 0.6f );
3841 public static final MealType FORTUNE_COOKIE = register ("fortune_cookie" , 2 , 0.1f )
3942 .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (2 ).saturationModifier (0.1f ).alwaysEdible ().build ()).component (FortuneCookie .type (), FortuneCookie .INSTANCE ));
40- public static final MealType FRIED_EGG = register ("fried_egg" , 1 , 0.1f );
43+ public static final MealType FRIED_EGG = register ("fried_egg" , 1 , 0.1f )
44+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0.1f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
4145 public static final MealType HOTDOG = register ("hotdog" , 8 , 0.8f );
4246 public static final MealType ICECREAM = register ("icecream" , 2 , 0.35f );
4347 public static final MealType INARI_SUSHI = register ("inari_sushi" , 3 , 0.2f );
4448 public static final MealType MAKI_SUSHI = register ("maki_sushi" , 4 , 0.5f );
45- public static final MealType MASHED_PRODUCE = register ("mashed_produce" , 1 , 0 );
49+ public static final MealType MASHED_PRODUCE = register ("mashed_produce" , 1 , 0 )
50+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
4651 public static final MealType MUFFIN = register ("muffin" , 2 , 0.1f );
4752 public static final MealType NIGIRI_SUSHI = register ("nigiri_sushi" , 3 , 0.2f );
4853 public static final MealType ONION_RINGS = register ("onion_rings" , 2 , 0.2f );
4954 public static final MealType PANCAKES = register ("pancakes" , 5 , 0.25f );
5055 public static final MealType PEPPERONI_PIZZA = register ("pepperoni_pizza" , 12 , 1.05f );
51- public static final MealType PEPPERONI_PIZZA_SLICE = register ("pepperoni_pizza_slice" , 1 , 0.25f );
56+ public static final MealType PEPPERONI_PIZZA_SLICE = register ("pepperoni_pizza_slice" , 1 , 0.25f )
57+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0.25f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
5258 public static final MealType PINK_DOUGHNUT = register ("pink_doughnut" , 5 , 0.25f );
5359 public static final MealType PINK_DOUGHNUT_SPRINKLES = register ("pink_doughnut_sprinkles" , 5 , 0.25f )
5460 .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (5 ).saturationModifier (0.25f ).build ()).component (PinkDonutWithSprinkles .type (), PinkDonutWithSprinkles .INSTANCE ));
5561 public static final MealType POPCORN = register ("popcorn" , 5 , 0.6f );
5662 public static final MealType PRETZEL = register ("pretzel" , 8 , 1f );
5763 public static final MealType RICE_BALL = register ("rice_ball" , 2 , 0.4f );
58- public static final MealType RICE_CRACKER = register ("rice_cracker" , 1 , 0f );
64+ public static final MealType RICE_CRACKER = register ("rice_cracker" , 1 , 0f )
65+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
5966 public static final MealType SANDWICH = register ("sandwich" , 9 , 0.9f );
6067 public static final MealType SAUSAGE = register ("sausage" , 3 , 0.25f );
6168 public static final MealType TACO = register ("taco" , 9 , 0.9f );
6269 public static final MealType TOFU = register ("tofu" , 3 , 0.2f );
6370 public static final MealType VEGETABLE_PIZZA = register ("vegetable_pizza" , 10 , 0.9f );
64- public static final MealType VEGETABLE_PIZZA_SLICE = register ("vegetable_pizza_slice" , 1 , 0.2f );
71+ public static final MealType VEGETABLE_PIZZA_SLICE = register ("vegetable_pizza_slice" , 1 , 0.2f )
72+ .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (1 ).saturationModifier (0.2f ).build (), Consumables .defaultFood ().consumeSeconds (0.8f ).build ()));
6573 public static final MealType WAFFLE = register ("waffle" , 6 , 0.3f );
6674 public static final MealType SOY_MILK = register ("soy_milk" , 2 , 0.1f )
6775 .overrideProperties (it -> it .food (new FoodProperties .Builder ().nutrition (2 ).saturationModifier (0.1f ).build (), Consumables .DEFAULT_DRINK ).usingConvertsTo (Items .GLASS_BOTTLE ));
0 commit comments