棉花糖也要能吃
This commit is contained in:
parent
a4600b2219
commit
e5a40b2d51
@ -105,10 +105,16 @@ public class BlackSugarModMain {
|
||||
)
|
||||
);
|
||||
|
||||
// 棉花糖物品
|
||||
// 棉花糖物品,可食用
|
||||
public static final RegistryObject<Item> MARSHMALLOW = ITEMS.register("marshmallow",
|
||||
() -> new Item(new Item.Properties()
|
||||
.setId(ITEMS.key("marshmallow"))
|
||||
.food(new FoodProperties.Builder()
|
||||
.alwaysEdible()
|
||||
.nutrition(2)
|
||||
.saturationModifier(2.0f)
|
||||
.build()
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
@ -125,14 +131,14 @@ public class BlackSugarModMain {
|
||||
)
|
||||
);
|
||||
|
||||
// 致癌的棉花糖物品,可食用
|
||||
// 致癌的棉花糖物品,可食用但无营养
|
||||
public static final RegistryObject<Item> CARCINOGENIC_MARSHMALLOW = ITEMS.register("carcinogenic_marshmallow",
|
||||
() -> new Item(new Item.Properties()
|
||||
.setId(ITEMS.key("carcinogenic_marshmallow"))
|
||||
.food(new FoodProperties.Builder()
|
||||
.alwaysEdible()
|
||||
.nutrition(2)
|
||||
.saturationModifier(3.0f)
|
||||
.nutrition(0)
|
||||
.saturationModifier(0.0f)
|
||||
.build()
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user