mojira.dev
MCPE-137721

creative_category doesn't exist anymore

Last beta (1.17.20.23) the 'minecraft:creative_category' component was updated to include groups and categories, and was able to be put on blocks.

This weeks beta (1.17.30.20) seems to have completely removed this, possibly reverting to the old method (which excluded blocks), not sure why as there were no issues with the new method and if it could be added back that would be great.
Update - 1.17.40.20:

  • This is now resolved, but there is an inconsistency between blocks and items, blocks use the 'group' object whereas items use the 'parent' object.

Update - 1.17.30.23:

  • This update fixed the creative category for blocks but items are still using the old method

Steps To Reproduce:

  • Download and start a world with the supplied pack and experimental features on

  • Observe that the 'Aluminium Ingot' item has no texture (despite it using vanilla the Iron Ingot texture)

  • Observe that nowhere in the creative inventory can you find the 'grunt:barrel_block' block and when given via command it has invalid textures (despite using vanillas barrel textures)

    • These features worked in 1.17.20.23

  • In the item and block files observe the new method (creative_category with both category and group strings) and observe the old method (currently commented out)

    • In the Aluminium Ingot file, Uncomment the commented components and comment the new method out and observe that the aluminium ingot now has a texture proper

    • In the Barrel Block file, comment out the creative_category component and observe it now has proper textures, though is still no where in the creative inventory

Expected Results:

  • The 1.17.20.23 method is used rather than the old one

Observed Results:

  • The 1.17.20.23 has seemingly been removed without notice in the documentation, breaking all add-ons that updated to the new method

Attachments

Comments 4

Resolving temporarily as Awaiting Response. Could you please attach an example pack to this ticket?

Added example pack with an item ('aluminium ingot') and a block ('barrel block'), both have comments inside their files with explanations of the old and new methods

Technically resolved in 1.17.40.20, though there is still a slight inconsistency between items and blocks, blocks use the 'group' object whereas items use the 'parent' object. 

Please confirm if this is still an issue for you

Gruntastic

(Unassigned)

590835, 410729

Confirmed

Multiple

add-on, creative-inventory, custom-blocks, custom-item

1.17.40.20 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.22 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix

Retrieved