mojira.dev
MCPE-40986

Non-enchanted weapons (swords and bows) do not render correctly for custom entities

To replicate, create a custom entity, and add either a bow or sword to its gear loot table (similar to a zombie or skeleton). Set the probability to be enchanted at 0%. When the entity spawns (naturally or using a spawn egg), the weapon has no texture rendered (the weapon looks all white).

The weapon is only rendered correctly when it is enchanted. To replicate, set the enchantment probability to 100%. Go into game and spawn in the entity, or find the naturally spawned entity, and the enchanted weapon will be correctly rendered.

Expected behavior: the non-enchanted weapon should have a texture.

Additional notes: non-enchanted and enchanted armor always renders correctly. This issue appears to be with only non-enchanted weapons.

Comments 2

Are you able to upload a copy of the pack you are using?

Cleaning up old tickets: This ticket had been set to 'awaiting response', but has not received a response from the reporter (~3 months+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Brandon

(Unassigned)

Unconfirmed

Windows

1.8.1

Retrieved