Moved food values to base, upped sat of nigiri
This commit is contained in:
parent
326663790a
commit
0d6dd62172
4 changed files with 15 additions and 16 deletions
|
|
@ -2,6 +2,7 @@ package dev.confuzzedcat.sushi.items.food.ingredients.fish.sashimi;
|
|||
|
||||
import dev.confuzzedcat.sushi.items.food.ingredients.fish.FishBase;
|
||||
import net.minecraft.client.item.TooltipContext;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.text.Style;
|
||||
import net.minecraft.text.Text;
|
||||
|
|
@ -16,6 +17,16 @@ public class SashimiBase extends FishBase {
|
|||
super(settings);
|
||||
}
|
||||
|
||||
public SashimiBase(){
|
||||
this(new Settings()
|
||||
.food(new FoodComponent.Builder()
|
||||
.hunger(5)
|
||||
.saturationModifier(6)
|
||||
.build()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
protected int tooltip_pos = 1;
|
||||
@Override
|
||||
public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) {
|
||||
|
|
|
|||
|
|
@ -9,12 +9,6 @@ public class TunaSashimi extends SashimiBase {
|
|||
}
|
||||
|
||||
public TunaSashimi(){
|
||||
super(new Settings()
|
||||
.food(new FoodComponent.Builder()
|
||||
.hunger(2)
|
||||
.saturationModifier(1)
|
||||
.build()
|
||||
)
|
||||
);
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ public abstract class NigiriBase extends SushiFoodItemBase {
|
|||
public NigiriBase(){
|
||||
this(new Settings()
|
||||
.food(new FoodComponent.Builder()
|
||||
.hunger(1)
|
||||
.saturationModifier(1)
|
||||
.hunger(2)
|
||||
.saturationModifier(1.5f)
|
||||
.build()
|
||||
)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -8,12 +8,6 @@ public class NigiriTuna extends NigiriBase {
|
|||
super(settings);
|
||||
}
|
||||
public NigiriTuna() {
|
||||
super(new Settings()
|
||||
.food(new FoodComponent.Builder()
|
||||
.hunger(5)
|
||||
.saturationModifier(6)
|
||||
.build()
|
||||
)
|
||||
);
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue