mojira.dev
MC-137286

CanDestroy and CanPlaceOn tags make long unreadable tooltips

Tooltips are unreadable when using a large number of blocks for CanDestroy or CanPlaceOn tags. A large list of blocks is necessary for maps where restricted construction is desirable.

[media]

Steps to reproduce: Create a large list of blocks in an item's CanDestroy or CanPlaceOn tag.

See the attached image of the shears. The CanDestroy tag is #shearable_blocks. The corresponding JSON block tag is also attached for reference.

Expected Behaviour: The item name, description, enchantments, etc. are visible. Possible methods include a scroll bar, a set of pages, or a hide/show option to view parts at a time.

Actual Behaviour: Only the bottom section of the block list is visible.

Attachments

Comments 6

this defnetly something that can be improved, and get solved,as a bug, but it can be hard to know if it is a bug or something they know is a thing, but one they dont think of as an issue.

for example, you could enchant a sword back in the day and then have so many enchantments that you could not see them all. you either needed to minimize the scale of the ui, or you needed to place the sword a bit higher or lower in your inventory so that you could see all the enchantments

I think you have a very good poit with inplementing a scroll of some sort! 🙂

All your "expected behavior" ideas are just that, ideas. Is there an actual bug here, or just a feature request?

@tryashter, this to me is an glaring unintended behaviour of some overlooked features, and in that sense I would argue it’s a bug. It’s not so much something new which should be added but something which should be fixed. That being said, I also recognise it being seen as a feature. If it should be a feature request and not a bug, where should this be reported so that it will seen by developers?

@Sulnus, I’m glad you agree that is an issue. I think Mojang hasn’t considered this a problem in the past, but the fault of the map maker. Descriptions, for instance, can be too long to go off screen, and I realise they closed that as a bug, which makes sense; just re-word descriptions to fit. But this isn’t cosmetic like that issue, and relates to the item’s actual functionality. After the flattening, you can’t even add something as innocuous as wool without 16 entries.

It has occurred to me that maybe instead of a scroll (though that would still be a decent solution), block tags should be optionally nameable as exampled below. If the name is present, the name is used in place of all containing blocks in the tooltip.

natural_stone.json:
{
“values”: [...],
“name”: “Natural Stone”
}

I agree the current display is not ideal, and these suggestions would be great for remedying it.

The devs like suggestions on feedback.minecraft.net and /r/minecraftsuggestions

Kieren Chantrell

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.13.1

Retrieved