7

Visit this post to see my proposal on MCBE NBT question split.

Here is a list of the changes that should be done if we approve of it:

New questions

If a question about BE NBT is possible using one of these, this should be its duplicate target. This includes all questions that would use NBT in Java Edition, even if the Bedrock Edition solution is different/doesn't involve commands.

  • How do I use commands to give myself a certain potion/tipped arrow from the Creative Inventory? If the asker wants to give themself (or another player) a potion or tipped arrow obtainable from the Creative Inventory.
    Answer: Data values
  • How do I use CanPlaceOn/CanDestroy in Minecraft commands?
    Answer: {"minecraft:can_place_on":{"blocks":["stone"]}}
  • How do I detect whether a player has an item in their inventory?
    Answer: /clear @p stone 0 and detect whether it succeeds.
  • How do I use commands to give a player an item with custom name/enchantments/other properties? For potions obtainable in the Creative Inventory, use the above bullet point.
    Answer: My handy give trick.
  • How do I summon a charged creeper?
    Answer: Use spawn event minecraft:become_charged. Note only one spawn event can be used.
  • How do I summon a named mob?
    Answer: /summon chicken MrCluckCluck 1 2 3 or /summon creeper 1 2 3 minecraft:become_charged MrBoomBoom
  • How do I get a block with data to place myself? Applies to chests with items, signs with text, command blocks
    Answer: Use CTRL + "pick block" on computer.(default middle mouse button). Impossible using touch controls, but this should still be the duplicate target.
  • How do I set a block with data to a certain position? Applies to chests with items, signs with text, command blocks
    Answer: Place block with data in template location. Use /clone to copy it to new position.
  • How do I summon a baby mob?
    Answer: Use spawn event minecraft:as_baby for drowned/zombies and minecraft:entity_born for all other mobs. Note only one spawn event can be used.
  • How do I summon a villager with a certain profession? Answer: Spawn events, see full list on Minecraft Wiki and find villager ones.

Existing questions

Use these questions as duplicate targets, not duplicate pointers.

Problems that can't be solved and should be duplicates of the main question

  • How do I give myself potions with custom effects? If the asker explicitly states that they want their own custom effects of the potion and not one available from the Creative Inventory
  • How do I give myself an item with a custom lore?
  • How do I give myself a skull with custom owner?
  • How do I detect items in a certain item slot?
  • How do I add attribute modifiers to items?
  • How do I reference NBT in the /clear command?
  • How do I set the Unbreakable:1b tag on my items?

Express your approval/disapproval of these changes by upvoting/downvoting this post and upvoting/downvoting the original discussion visitable using the link at the top of my post. The proposed changes will be started on August 12, 2020 at 00:00 UTC if there is no direct opposition.

Suggestions for more items? Comment below.

Important question: Do you think that questions that use different scenarios but the same workaround should be part of one question? Comment below.

| |
  • "How do I use CanPlaceOn/CanDestroy in Minecraft commands?" should be one question for CanPlaceOn and one for CanDestroy, mirroring the Java edition situation. Otherwise, I agree with this proposal. – pppery Aug 6 at 1:05
  • Morderators will need to be involved anyway, so I think doing anything before they get involved is premature. Another question to ask is who should post (and thus earn reputation from) the new questions. They shouldn't be community wiki since that would force all answers to be community wiki (although any answers copied from the original megathread by people other than the author should be community wiki, and should attribute the original author in the body) – pppery Aug 6 at 3:31
  • 2
    Generally we'll give something a week or so to see if there's any direct opposition to a proposed change. Also, something you may not know - but mods can mark a question as a duplicate of more than one question. This is a possibility for questions that could go either way. @pppery (for the notification) – Robotnik Aug 6 at 10:11
  • I did know that, and I'm pretty sure ExpertCoder14 did too, since they listed some questions twice in the community wiki list of duplicates. – pppery Aug 6 at 13:16
4

To help whoever implements this out, I am going to sort the existing duplicates between the new questions:

This is a community wiki answer, so feel free to edit it if there are mistakes or you want to add new questions.


Change duplicate target to a new question—

These questions should have their duplicate target modified to a new question to be posted. These are grouped by the problem they are trying to solve.

How do I give myself a potion with an effect?

How do I use CanPlaceOn/CanDestroy in Minecraft commands?

How do I detect whether a player has an item in their inventory?

How do I give myself an item with custom name/enchantments/other properties?

How do I summon a charged creeper?

Mod Note: no questions to mark duplicate here

How do I summon a named mob?

How do I get a block with data to place myself?

How do I set a block with data to a certain position?

How do I summon a baby mob?

How do I summon a villager with a certain profession?

How can I obtain items that exceed their maximum enchantment level?


Keep these as duplicates of the main question

These questions should stay the way they are as duplicates of the main question. They are grouped by the impossible problem that they are trying to workaround. Once again, do NOT create new questions for these, the headings for questions are just for readability.

How do I give myself potions with custom effects?

How do I give myself an item with a lore on it?

How do I get or /setblock a skull with a custom owner?

How do I detect items in a certain item slot?

How do I add attribute modifiers to items?

How do I reference NBT in the /clear command?

Other

Reopen these questions entirely —

2

It's been a while since we've proposed this, and I don't see any direct opposition to this, so I believe we can start now. We will be working through three phases of this upgrade:

Phase 1: New Question Creation—

As suggesters of this proposal, I, pppery, and cherryblossom will be posting separate questions for each workaround. We will be splitting the questions among each other as equally as possible. (They cannot be community wiki because that would force all the answers to be community wiki.)

Here is the split and the work needed to be done by each user. These were chosen randomly by a random number generator:

pppery's questions

  • How do I use commands to give myself a certain potion/tipped arrow from the Creative Inventory?
  • How do I summon a villager with a certain profession?
  • How do I summon a baby mob?

cherryblossom's questions

  • How do I get a block with data to place myself?
  • How do I use CanPlaceOn/CanDestroy in Minecraft commands?
  • How do I summon a charged creeper?

ExpertCoder14's questions

  • How do I summon a named mob?
  • How do I give myself an item with custom name/enchantments/other properties?
  • How do I set a block with data to a certain position?

If you are one of the users with a question assigned, please look at the main post above for its answer. You may then add a new question to the network. Ensure your question has a notice at the top detailing why it's being posted and link it to the original proposal and the main BE NBT question. This way, users won't mistake it as being another duplicate of the old duplicate target. (We'll remove these notices after the movement is complete.)

Here is an example notice:

This question has been posted as part of the Minecraft Bedrock NBT question split and will become a duplicate target for related questions instead of the main BE NBT question. Discuss the proposal here.

Phase 2: Duplicate Retargeting—

Thanks to the great effort of pppery, a list has been compiled with all the duplicates of the Minecraft BE NBT question. After, and only after, phase 1 is complete, we can begin retargeting duplicates to their questions.

In the big list post, you'll find one section for duplicate retargeting at the top. A moderator can then reroute the duplicates to one of the new questions.

To be clear, for all the questions who need duplicate retargeting, the main BE NBT question should NOT be kept on the list of duplicates. It will be reserved for the questions that ask for something impossible only.

Phase 3: Reorganization of the main BE NBT question

For this last phase, we will be cleaning up the main BE NBT question. pppery had suggested this.

  1. The accepted answer by cherryblossom can be changed to reflect the changes to this duplicate retargeting. Adding a notice like "If you've been sent here by a close notice, this means your problem is not solvable.", adding a list of the impossible problems (see question post above) and linking to each workaround would be greatly appreciated.
  2. All answers can be deleted except for the accepted answer. This step has caused some controversy from the community, and it is not clear whether we will be doing it. I'm just posting it here for the record.
| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .