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 dev.confuzzedcat.sushi.items.food.ingredients.fish.FishBase;
|
||||||
import net.minecraft.client.item.TooltipContext;
|
import net.minecraft.client.item.TooltipContext;
|
||||||
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.text.Style;
|
import net.minecraft.text.Style;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
|
|
@ -16,6 +17,16 @@ public class SashimiBase extends FishBase {
|
||||||
super(settings);
|
super(settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SashimiBase(){
|
||||||
|
this(new Settings()
|
||||||
|
.food(new FoodComponent.Builder()
|
||||||
|
.hunger(5)
|
||||||
|
.saturationModifier(6)
|
||||||
|
.build()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
protected int tooltip_pos = 1;
|
protected int tooltip_pos = 1;
|
||||||
@Override
|
@Override
|
||||||
public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) {
|
public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) {
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,6 @@ public class TunaSashimi extends SashimiBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public TunaSashimi(){
|
public TunaSashimi(){
|
||||||
super(new Settings()
|
super();
|
||||||
.food(new FoodComponent.Builder()
|
|
||||||
.hunger(2)
|
|
||||||
.saturationModifier(1)
|
|
||||||
.build()
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@ public abstract class NigiriBase extends SushiFoodItemBase {
|
||||||
public NigiriBase(){
|
public NigiriBase(){
|
||||||
this(new Settings()
|
this(new Settings()
|
||||||
.food(new FoodComponent.Builder()
|
.food(new FoodComponent.Builder()
|
||||||
.hunger(1)
|
.hunger(2)
|
||||||
.saturationModifier(1)
|
.saturationModifier(1.5f)
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,6 @@ public class NigiriTuna extends NigiriBase {
|
||||||
super(settings);
|
super(settings);
|
||||||
}
|
}
|
||||||
public NigiriTuna() {
|
public NigiriTuna() {
|
||||||
super(new Settings()
|
super();
|
||||||
.food(new FoodComponent.Builder()
|
|
||||||
.hunger(5)
|
|
||||||
.saturationModifier(6)
|
|
||||||
.build()
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue