mojira.dev
MCPE-150620

"enable_attachables" only hide bow instead of any items

Introduction

Recently I bought Battle & Beast 2 Skin Pack, which has a "baby ghast" skin. The skin only consists of a head-part. This skin has its "Enable_Attachables" attribute set to "false", so I have been testing it in-game.

The Problem

When holding items, only a bow is affected. The bow is the only working item that is being hidden, other items can still be seen by the owner and other players (Multiplayer). Upon lookup on Microsoft Docs, it should be:

Entity Documentation

This determines if the entity can equip attachables when this is set to true. This allows the entity to render armor and weapons.

Advanced

Upon further testing, I've concluded that the game assigned default render controllers into the game skins with identifier:

minecraft:player.0.[skinpack_uuid].[skins_localization_name]

which is not correct. Skinpack should be rendered independently without the game automatically assigning players render_controllers.

Step to Reproduce

  • Buy "Battle & Beast 2" Skin Pack

  • Use "Baby Ghast" Skin

  • Get a bow and any other item

  • Look closely at Skin Hand

Expected Result

❌ Any item will not be rendered

Actual Result

✔ Only the Bow is not rendered

Linked issues

Attachments

Comments 4

Probably the same underlying issue as MCPE-136134.

Please don't add redundant labels to an issue. The label field search ignores upper- and lowercase differences, singular and plural differences, and most kinds of special characters, so it's not necessary to include multiple labels with trivial variations.

Also, please avoid making changes to the summary and description after the first few days. You should ensure that you have this basic information correct before you submit the report. If additional information becomes available later, it should be added in a comment. When you change the description, it tells us that you've decided the issue is something different from what you originally thought it was, and therefore we have to treat it as a new issue, forgetting what you said before.

It appears that you may be making changes with a hope to draw our attention back to the issue, but this is the wrong way to do that. If you have a question about how your report is being handled, the proper place to ask is the Mojira Discord. See our Guidelines and FAQ for more information.

I have removed the bug.mcpack attachment because it appeared to violate Mojang's copyright on the Battle & Beast 2 Skin Pack. I have also deleted your second set of steps to reproduce the issue, which depended on the attachment.

I downloaded the Battle & Beasts pack, selected the Baby Ghast skin, and followed your reproduction instructions. Here are my test results:

Item

Rendered?

Shield in either main hand or off-hand

No

Weapon (bow, crossbow, or trident) in main hand

No

Armor in an armor slot

No

Armor in main hand

Yes

Tools in main hand

Yes

Arrow(s) in either hand

Yes

What you've reported is that "any other items" except a bow are being rendered when they shouldn't be. As these results show, this isn't true: Only non-weapons held in hand are being rendered.

Your argument seems to be that the documentation says these items should not be rendered. I'll repeat that documentation here: 

Entity Documentation

This determines if the entity can equip attachables when this is set to true. This allows the entity to render armor and weapons.

There are two problems with the way you're interpreting this. First, the "enable_attachables" setting is about equipping attachables, not about rendering them (as you seem to think). The second sentence isn't part of the definition of the setting, it's just additional context to help the creator visualize what it does. Second, you're assuming the converse of the second statement, which could be stated as "If _enable_attachables" is false, the entity is not allowed to render armor and weapons". This is a logical fallacy.

Now please look at the test results. The first three behave as you expected, so we only need to look at the last three..

The first one is "armor in your main hand". You seem to think that armor in hand is "equipped", but that's an error. To "equip" an item means to put it where its special properties become available. Tools and weapons are equipped by putting them in a hand, but armor has to be placed in an armor slot to provide its protection. So armor in a main hand is not equipped, and the documentation rule doesn't apply here.

Next is "tools in your main hand". These are equipped and rendered, but the documentation only refers to rendering "armor and weapons", so it doesn't apply here.

Finally we have "arrows in either hand". It's kind of ambiguous whether arrows are a tool, a weapon, or just a general item, but I think it's fair to say they're not a weapon because you can't kill a mob with them unless you use them in combination with a bow or crossbow, which are undoubtedly weapons by themselves. But under that assumption, once again the documentation doesn't apply.

Since I don't see any reason to expect this to work differently than it does, and since this behavior can't be compared to Java Edition, I have to conclude that this is Working As Intended. If you disagree, the appropriate action is to post your argument on the Mojira Discord, as described in our Guidelines and FAQ. Don't try to use a comment here instead, as we don't usually monitor closed bug reports for very long.

user-806ac

(Unassigned)

Unconfirmed

Windows

Windows 10

attachables, rendering, skin, skin-model, skin-pack

1.18.20.21 Beta, 1.18.10.28 Beta, 1.18.10.27 Beta, 1.18.2 Hotfix

Retrieved