-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from IceXaga/master
Delete Update
- Loading branch information
Showing
4 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
Submodule ChineseFoods-Fork
deleted from
5e1868
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/cn/shidux/chinesefoods/item/JiangXi/NanChang/Items.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package cn.shidux.chinesefoods.item.JiangXi.NanChang; | ||
|
||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemGroup; | ||
import net.minecraft.util.Identifier; | ||
import net.minecraft.util.registry.Registry; | ||
import cn.shidux.chinesefoods.ChineseFoods; | ||
import net.minecraft.item.FoodComponent; | ||
|
||
public class NanchangMixFlourItem extends Item { | ||
public NanchangMixFlourItem() { | ||
super(new Item.Settings().group(ChineseFoods.MOD_ITEM_GROUP).food(new FoodComponent.Builder().hunger(6).saturationModifier(0.6f).build())); | ||
} | ||
|
||
// 注册物品 | ||
public static final Item NANCHANG_CHAO_FEN = new NanchangChaoFenItem(); | ||
public static void registerItem() { | ||
Registry.register(Registry.ITEM, new Identifier(ChineseFoods.MOD_ID, "nanchang_chao_fen"), NANCHANG_CHAO_FEN); | ||
} | ||
} |
Empty file.