use of net.minecraft.text.TranslatableText in project MCDoom by AzureDoom.
the class GoldDoomArmor method appendTooltip.
@Override
public void appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) {
tooltip.add(new TranslatableText("doom.goldarmor.text").formatted(Formatting.YELLOW).formatted(Formatting.ITALIC));
super.appendTooltip(stack, world, tooltip, context);
}
use of net.minecraft.text.TranslatableText in project MCDoom by AzureDoom.
the class MidnightDoomArmor method appendTooltip.
@Override
public void appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) {
tooltip.add(new TranslatableText("doom.midnightarmor.text").formatted(Formatting.YELLOW).formatted(Formatting.ITALIC));
super.appendTooltip(stack, world, tooltip, context);
}
use of net.minecraft.text.TranslatableText in project MCDoom by AzureDoom.
the class ArgentPlateItem method appendTooltip.
@Override
public void appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) {
tooltip.add(new TranslatableText("doom.argent_plate.text").formatted(Formatting.RED).formatted(Formatting.ITALIC));
super.appendTooltip(stack, world, tooltip, context);
}
use of net.minecraft.text.TranslatableText in project MCDoom by AzureDoom.
the class SwordCrucibleItem method appendTooltip.
@Override
public void appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) {
tooltip.add(new TranslatableText("doom.crucible_sword.text").formatted(Formatting.RED).formatted(Formatting.ITALIC));
tooltip.add(new TranslatableText("Ammo: " + (stack.getMaxDamage() - stack.getDamage() - 1) + " / " + (stack.getMaxDamage() - 1)).formatted(Formatting.ITALIC));
super.appendTooltip(stack, world, tooltip, context);
}
use of net.minecraft.text.TranslatableText in project MCDoom by AzureDoom.
the class GrenadeItem method appendTooltip.
@Override
public void appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) {
super.appendTooltip(stack, world, tooltip, context);
tooltip.add(new TranslatableText("doom.doomed_credit.text").formatted(Formatting.RED).formatted(Formatting.ITALIC));
tooltip.add(new TranslatableText("doom.doomed_credit1.text").formatted(Formatting.RED).formatted(Formatting.ITALIC));
}
Aggregations