How to add a non -container block with NBT to the relics in the structure file (Ruins) Minecraft Game

(This tutorial is suitable for 1.12.2, and the later version can be obtained as long as the NBT data of the block can be obtained))

When trying to create a structure with redstone with wall climbing, it is found that the copying structure has lost all the redstone cubes of the wall climbing. In fact, it is difficult for all non -container entities with NBT to be directly copied into the template.After referring to some Ruins template bags, it is explored as the following method to add NBT block into the template:

For example, to build such a structure:

This structure contains the redstone with NBT data. At this time, the/Parseruin instruction left -click on the base rock to generate templates, and then the structure that appears when using/testruin to generate the structure:

The structure lost all the redstone climbing walls, causing the tie rod to turn on the red stone lamp normally.

The generated template file Rule part is as follows:

It can be seen that Ruins in RULE6 does add the rules of red stone climbing wall, but it puts all the red rock climbing wall into a rule without adding corresponding NBT, which causes the red stone to climb the wall because there is no direction in any direction.The connection disappears directly.And if you want to make the redstone in the wall that can be added normally, you need to write the NBT data into the rule.

If there is a CRT, click Ctrl+key to clicks on the wall of red stone in the mouse:

Will get a wall -climbing wall with NBT data:

Give the redstone of the wall climbing, enter/ct hand to get the NBT data of the item:

Click to copy it, and then come to the template file to create a new rule (because the red stone climbing wall climbing walls in each form has different NBTs, you need to establish a rule alone, and it is difficult to organize the original rules.)

 rule8 = 0,100, redstonePaste: RedstonePaste-0 

Add "Teblock;" before "RedstonePaste: RedstonePaste", add "Teblock;", and add "RedstonePaste: RedstonePaste"; "" and paste the NBT data just copied:

 rule8 = 0,100, teblock; redstonePaste: redstonePaste;  .withtag ({Blockeditytag: {FACEE data: [0, 0, 0, 0, 0, 0, 0] as int[], ID: "Minecraft: RedstonePastetete", Faces: [0, 3, 3, 0, 0, 0] as int [], faceType: [0, 0, 0, 0, 0, 0] as int [] as int []}, Display: {Lore: ["(+NBT)"]}})-0 

Delete the excess part: the previous ". Withtag ({Blockntitytag:" and the back ", Display: {Lore: [(+NBT)"]}}), delete all "as int[] "And add" i; "to the beginning of its array," ID: "Minecraft: RedstonePastetete" "" "" "" "" ""The results are as follows:

 rule8 = 0,100, teblock; redstonePaste: redstonePaste; {facedata: [i; 0,0,0,0,0,0], Faces: [i; 0,3,3 3, 0,0,0], FaceType: [i; 0,0,0,0,0,0]}-0 

Note that "i;" should be written at the beginning of the array, otherwise the array will cause bad files after generating the structure.

Other red stone climbing the wall is the same, and finally write the corresponding rules into the corresponding position.There is no need to restart the Ruins's own heat loading after saving the file.

Due to the problem of generating sequence, the red stone climbing the wall climbing wall is dropped. This is the problem of climbing the red stone itself. If it is buried in the underground structure, this problem will not occur (unless it is generated in the mine), the ground above the ground, the ground above the ground, the ground above the ground, the ground above the ground, the ground above the ground, the ground above the ground, the ground above the ground, the ground above the ground, the ground above the ground, and the ground above the ground, and the ground above the ground.The structure will be affected by it.

There is no CRT or unable to obtain the shape of NBT block items:

Enter/blockdata ~ ~ ~ ~ {} (the coordinate replacement is replaced with the location where the block you want to get), and then this information will appear in the chat bar:

Find a way to copy the following data, and then add the above steps to the rules file. Compared with the CRT advantage, there is no extra space, and you do not need to manually delete the fields such as "as int []" and add "i;", Can also be used to copy the physical block without the form of items or lose NBT data after obtaining. The disadvantage is that it is difficult to copy.

Other physical blocks with NBT and unable to be copied into the template file normally.

Note: If there is a uniform direction like the redstone in the wall, it is also written in the NBT.