Found in 24w40a.
Create a non-experimental world and place a disabled block via a feature:
/place feature minecraft:pale_oak
Then, there are some weird behaviors:
You cannot interact with it properly unless you press Shift.
The block placed via Shift + Right Click disappears immediately after placement.
Pick on it will get a ghost item.
The Piston will make these blocks disappear.
Other behaviors:
Can be saved and loaded.
F3+I can find the block entities.
Unlike entities such as The Creaking that disappear, these disabled blocks and items remain.
Comments 4
This ticket relates to MC-277221.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Editing level.dat is not a supported thing, feature flags cannot be enabled/disabled post-world creation, and any issues that arrise when you edit them in/out via external editors are not supported.