移除测试用HighlightTip
This commit is contained in:
parent
2fb1a1cf87
commit
520ed42e08
1 changed files with 0 additions and 12 deletions
|
@ -9,7 +9,6 @@ import com.atsuishio.superbwarfare.init.ModItems;
|
|||
import net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer;
|
||||
import net.minecraft.core.component.DataComponents;
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.world.InteractionHand;
|
||||
import net.minecraft.world.InteractionResult;
|
||||
import net.minecraft.world.InteractionResultHolder;
|
||||
|
@ -187,15 +186,4 @@ public class ContainerBlockItem extends BlockItem implements GeoItem {
|
|||
|
||||
return stack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Component getHighlightTip(@NotNull ItemStack item, @NotNull Component displayName) {
|
||||
// var tag = item.getOrDefault(DataComponents.CUSTOM_DATA, CustomData.EMPTY).copyTag();
|
||||
// String entityTranslationKey = getEntityTranslationKey(tag.getString("EntityType"));
|
||||
//
|
||||
// super.getHighlightTip(item, displayName).
|
||||
//
|
||||
// tooltipComponents.add(Component.translatable(entityTranslationKey == null ? "des.superbwarfare.container.empty" : s).withStyle(ChatFormatting.GRAY));
|
||||
return Component.literal("tesjlktkjesjlktlejk");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue