Actions

Update Commands From 1.9/1.10 To 1.11 Tutorial

From Zedwiki

This tutorial will guide you through all the steps you may need to update your command block creations to Minecraft 1.11. Primarily we will be talking about changes made since Minecraft 1.9/1.10, however you may be able to take similar steps when updating from Minecraft 1.8 and below.


Tutorial

Using MCEdit to update commands automatically

The following will guide you through using MCEdit with MrGarretto's entity convertor for MC 1.11 filter to update your commands for changes made in 1.11. This will convert all entity names to the new names ("ArmorStand" -> "armor_stand"), but will not account for all changes to commands so be sure to familiarise yourself with the other changes in 1.11.

Pre-requisites

  1. MCEdit 1.0
  2. MrGarretto's entity converter filter for MCEdit 1.0
  3. Your pre-1.11 world
  4. In order for the MCEdit filter to work correctly, you will need to load all of the command blocks in-game first. Be sure to visit each chunk you have them in.
  5. Remember, the filter will not change structure block files, you will need to load them into your world first and save them again once you have finished the steps below.


Setup

  1. Install MCEdit 1.0
  2. In the MCEdit folder, find a folder called stock-filters
  3. Place the downloaded filter in there
  4. Load your world in MC 1.11 and visit each chunk your command blocks are in to ensure Minecraft updates their NBT data to their new structure.
  5. If you have command blocks in any structure files, be sure to load them into the world before applying the filter, as MCEdit does not modify your structure files. (If you have used any capital letters in your structure names, you will be unable to load them in 1.11; to fix this you need to locate the files in your world folder, under 'structures', and rename them all to lowercase file names.)
  6. Back up your world.
  7. If not already, make sure your world is in your .minecraft/saves folder with your other local worlds

Apply the filter

  1. Start MCEdit
  2. Press quick load
  3. Select your world and load it
  4. Select the command blocks you wish to update; Click two opposite corners to select a plane, then drag the face upwards to select a nice big cuboid.
  5. Click apply filter from the hotbar at the bottom of the screen
  6. Select the filter named 'Entity Command Converter For MC 1.11'
  7. Click Filter.
  8. Repeat steps for as many groups of command blocks as you need.
  9. Save your changes; Top left Menu, choose save.
  10. Close MCEdit before loading your world.