made nuts better
This commit is contained in:
parent
f087190fa9
commit
3eec80983f
@ -0,0 +1,12 @@
|
||||
package net.Chipperfluff.chipi.item;
|
||||
|
||||
import net.minecraft.item.FoodComponent;
|
||||
|
||||
public class ModFoodComponents {
|
||||
|
||||
public static final FoodComponent NUT = new FoodComponent.Builder()
|
||||
.hunger(4)
|
||||
.saturationModifier(0.3f)
|
||||
.snack()
|
||||
.build();
|
||||
}
|
||||
@ -44,11 +44,12 @@ public class ModItems {
|
||||
);
|
||||
|
||||
// ===== NORMAL ITEMS =====
|
||||
|
||||
public static final Item NUT = Registry.register(
|
||||
Registries.ITEM,
|
||||
new Identifier(ChipiMod.MOD_ID, "nut"),
|
||||
new Item(new FabricItemSettings())
|
||||
new Item(new FabricItemSettings()
|
||||
.food(ModFoodComponents.NUT)
|
||||
)
|
||||
);
|
||||
|
||||
public static final Item RAW_CHIPPER_ORE = Registry.register(
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.01
|
||||
"chance": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user