提供: Minecraft Modding Wiki
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
23行目: | 23行目: | ||
//アイテム作成、食料 | //アイテム作成、食料 | ||
− | public static final Item SAMPLE_ITEM = new Item(new Item.Settings().group(ItemGroup.MISC).food(new FoodComponent.Builder().hunger(3).saturationModifier(6f | + | public static final Item SAMPLE_ITEM = new Item(new Item.Settings().group(ItemGroup.MISC).food(new FoodComponent.Builder().hunger(3).saturationModifier(6f).build())); |
@Override | @Override | ||
35行目: | 35行目: | ||
} | } | ||
</source> | </source> | ||
− | |||
==解説== | ==解説== | ||
<source lang = "java"> | <source lang = "java"> |