Alright, the suggestion is a new block, an expansion on to command blocks. Data blocks. These blocks will make commanding a whole lot simpler, compact and generally more useful. These new data blocks will be black all round with the same kind of buttons on the front of command blocks except a more green tone. The data blocks will transfer an output (or a certain PART of the output) over to the data block, which will store it until it is used again.
In order to select which side of a command block is an output, you simply shift right click on the side you want to change with a sword and then that side is a selected output. *Note that commandblocks can have as many outputs as they want if you are taking out certain parts of the command.* From there, the command blocks texture will change and the buttons will change to black. *Another note here is that individual textures will have to be made for each side, meaning it has a total data tag possibility of 7.*
Upon placing the data block to the correct side of the command block it's not done yet. The command that you are taking from the command block, say, /say @e will have to be edited slightly so it knows that the data will be transferred to that block, a slight adjustment is this:
/say @e {DataBlock:~ ~ ~1,StoreData:{Output:@e}}
So now the data block will have the output of the command block out, every entity that is there.
To retrieve the data stored in the data blocks, on a different command maybe later in the line you have to put this format:
*For this we will use the command /saylocation, another command implemented. We'll get round to that later.*
/saylocation [Coordinates of the data block]
Doing that, in chat it will say ALL of the locations of the entities that were selected earlier.
This probably was not the best of examples, so we will try something else.
/saylocation @e[type=ArmorStand,name=Moving] {DataBlock:~ ~ ~1,StoreData:{Output:~ ~ ~}} *Change the coordinates to where the data block is*
The datablock will now have that location stored. We can use that for measuring where the armorstand named "moving" is.
/execute @e[coordinates of the data block,ymax=hightrequired (Something like 60)] ~ ~ ~ /setblock ~ ~5 ~ minecraft:redstoneblock
Thus meaning that this can be used to make redstone lines.
/Saylocation This will say the location of the entity or whatever you want, being able to make doors and things if you are required too.
/ymax /xmax /zmax + /ymin /xmin /zmin are all used for locating where the entity is and can pinpoint it exactly or have a comparison range.
{DataBlock:~ ~ ~} This will determine which side the datablock is on in comparison to the command block.
StoreData This tells the command block to store the data
{Output:} This means which part of the command will be stored.
To get the data out of a data block, simply break it and replace it. That will reset it. Overall, this new block will add in a lot to minecraft commanding and will open up opportunities if you can think.
Think I missed anything? Be free to suggest in the comment section.
Rollback Post to RevisionRollBack
Well, I think I found what I'LL be in the after life. <3 Goats for life.
In order to select which side of a command block is an output, you simply shift right click on the side you want to change with a sword and then that side is a selected output. *Note that commandblocks can have as many outputs as they want if you are taking out certain parts of the command.* From there, the command blocks texture will change and the buttons will change to black. *Another note here is that individual textures will have to be made for each side, meaning it has a total data tag possibility of 7.*
Upon placing the data block to the correct side of the command block it's not done yet. The command that you are taking from the command block, say,
/say @e
will have to be edited slightly so it knows that the data will be transferred to that block, a slight adjustment is this:
/say @e {DataBlock:~ ~ ~1,StoreData:{Output:@e}}
So now the data block will have the output of the command block out, every entity that is there.
To retrieve the data stored in the data blocks, on a different command maybe later in the line you have to put this format:
*For this we will use the command /saylocation, another command implemented. We'll get round to that later.*
/saylocation [Coordinates of the data block]
Doing that, in chat it will say ALL of the locations of the entities that were selected earlier.
This probably was not the best of examples, so we will try something else.
/saylocation @e[type=ArmorStand,name=Moving] {DataBlock:~ ~ ~1,StoreData:{Output:~ ~ ~}} *Change the coordinates to where the data block is*
The datablock will now have that location stored. We can use that for measuring where the armorstand named "moving" is.
/execute @e[coordinates of the data block,ymax=hightrequired (Something like 60)] ~ ~ ~ /setblock ~ ~5 ~ minecraft:redstoneblock
Thus meaning that this can be used to make redstone lines.
/Saylocation This will say the location of the entity or whatever you want, being able to make doors and things if you are required too.
/ymax /xmax /zmax + /ymin /xmin /zmin are all used for locating where the entity is and can pinpoint it exactly or have a comparison range.
{DataBlock:~ ~ ~} This will determine which side the datablock is on in comparison to the command block.
StoreData This tells the command block to store the data
{Output:} This means which part of the command will be stored.
To get the data out of a data block, simply break it and replace it. That will reset it.
Overall, this new block will add in a lot to minecraft commanding and will open up opportunities if you can think.
Think I missed anything? Be free to suggest in the comment section.
Well, I think I found what I'LL be in the after life. <3 Goats for life.
Well, I think I found what I'LL be in the after life. <3 Goats for life.
Well, I think I found what I'LL be in the after life. <3 Goats for life.
Well, I think I found what I'LL be in the after life. <3 Goats for life.
Well, I think I found what I'LL be in the after life. <3 Goats for life.