Similarly to MC-256534, I'm getting the impression that experimental items shouldn't be obtainable in non-experimental worlds. However, the following command gives you a shulker box with a bamboo block inside, even if 1.20 features are disabled:
/give @p minecraft:shulker_box{BlockEntityTag:{Items:[{Slot:0b,id:"minecraft:bamboo_block",Count:1b}]}}
It is also still possible to import experimental items "indirectly" using saved hotbars:
Open a world with 1.20 features enabled.
Grab a shulker box and a bamboo block.
Put the bamboo block in the shulker box.
Break the shulker box and save it to your saved hotbars.
Open a world with 1.20 features disabled.
Grab the shulker box from your saved hotbars and place it.
See how the bamboo block is inside, free to move around.
I'm guessing instead of shulker boxes one can also use chests with NBT data, armour stands with NBT data and so on.
In multiplayer contexts, malicious players can create experimental items this way, making it potentially impossible to upgrade the world to future versions of the game.
Linked issues
Comments 3
Thank you for your report!
We're tracking this issue in MC-258315, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Duplicate of MC-258315.