Compile-Fixes in BetterEnd
This commit is contained in:
parent
6d6a1175b5
commit
e3953167ba
174 changed files with 612 additions and 450 deletions
|
@ -3,7 +3,7 @@ package ru.betterend.item;
|
|||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.network.chat.TextComponent;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.world.effect.MobEffectInstance;
|
||||
import net.minecraft.world.entity.EquipmentSlot;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
|
@ -33,7 +33,7 @@ public class CrystaliteChestplate extends CrystaliteArmor implements MobEffectAp
|
|||
@Environment(EnvType.CLIENT)
|
||||
public void appendHoverText(ItemStack stack, @Nullable Level level, List<Component> lines, TooltipFlag tooltip) {
|
||||
super.appendHoverText(stack, level, lines, tooltip);
|
||||
lines.add(1, TextComponent.EMPTY);
|
||||
lines.add(1, Component.empty());
|
||||
lines.add(2, CHEST_DESC);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue