9

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 or in a specific slot?
    Answer: New hasitem= selector argument.
  • How do I use commands to give a player an item with custom properties?
    Answer: Load a structure containing the item entity on top of the player. Details.
  • How do I summon a charged creeper?
    Answer: Spawn event: minecraft:become_charged.
  • 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.
  • 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? Now possible with new hasitem= selector argument.
  • How do I add attribute modifiers to items?
  • How do I reference NBT in the /clear command?

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.

4
  • "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
    Commented Aug 6, 2020 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
    Commented Aug 6, 2020 at 3:31
  • 3
    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 Mod
    Commented Aug 6, 2020 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
    Commented Aug 6, 2020 at 13:16

3 Answers 3

6

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 —

0
3

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.
0
1

Actions I would suggest other than retargeting duplicates

  1. Delete all answers to the main question except for the accepted answer (no content is actually lost here, since the information will be contained in the new questions, and no significant reputation will be lost, since all but one of them are more than 2 months old and have a score of greater than two)
  2. Edit the remaining answer to delete the bit about CanPlaceOn and CanDestroy (again, now a separate question), and include a link to each of the workaround questions, in case someone whose question is actually possible ends up there by mistake.
  3. Lock the question with a "wiki answer" lock to prevent any additional workarounds from being posted there as answers as opposed to additional self-answered questions. This includes making the answer community wiki.

Note

This post has caused some controversy in the comments below. If you would like to argue this case, please make your argument on the discussion that stemmed off of this post.

5
  • For convenience, we should also put a list of impossible scenarios before the list of workarounds, or a message on the answer/question saying "If your question has been closed as a duplicate of this, this means your problem can't be solved." This way users reaching the question won't think that they have to browse all the workarounds, and that they immediately know that it isn't possible.
    – One 2 Many
    Commented Aug 6, 2020 at 2:57
  • Agree. Either way, the answer to that question becomes community wiki, so the precise wording can be decided later.
    – pppery
    Commented Aug 6, 2020 at 2:58
  • 1
    Some notes here: answers should not be forcibly deleted simply because content is being copied out of them. The fact that reputation points will be preserved does not justify doing so. Those answers' authors are of course free to delete their own answers. In addition, the question should not be locked simply as a matter of convenience, and even if it should be, setting the answer to "community wiki" would not accomplish that, and even if it did, that setting should be used very sparingly if at all and I think you need to make a stronger argument for using it here. Commented Aug 6, 2020 at 3:04
  • 1
    I see now that three of the four existing answers on that main question are owned by users who are involved in this project, Each of those users can delete their own answers. For the other answer, you can do your best to convince that user that they should delete it. If you can't, you will just have to live with it. Commented Aug 6, 2020 at 5:39
  • 1
    You don't have the right to delete someone else's answer with the justification presented here. Your desire to clean up the post does not override that user's right to post their answer on the question. In other words, there are exactly two possible outcomes here: either the user deletes their own answer, and it goes away, or they do not delete it, and it stays. Commented Aug 7, 2020 at 6:45

You must log in to answer this question.

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