Started by
mangamaniacs2064
on
Topic category: Help with MCreator software
i used the template 6x6x6 but i dont understand it very well..
can someone show me how to make a bloc of 3x3x3
so it should detect 3x3x3 block then i will add a command like opening a gui.
You can see the variables in: https://www.youtube.com/watch?v=eRgV461KIm4&t=58s Pause the video.
The repeatTimes simply means how long it checks on 1 axis. For example: if you have:
then you'd need repeatTimes 5 to be able to see all of them if you checked from the TreeStump block. Offset is to make sure you start at the Air block all the way on the left: repeatTimes(5) / -2 rounded down is -2. And indeed with repeatTimes 5 you need to go -2 blocks to go from left to right.
The 3 repeaters are for each axis: the x, y and z axis.
It goes something like this: Check: (0,0,0) Check: (1,0,0) Check: (2,0,0) Check: (3,0,0) Check: (0,0,1) Check: (1,0,1) Check: (2,0,1) etc. (in case of 3).
In the if statement all the way at the bottom, you can put the stuff that should happen when it finds what it was looking for. (You need to remove the NOT gate that the one in the video has of course)
If you want to scan for a 7 long block, you can use the procedure inside of the video. You can also simply change the number to 3, making the block only scan 1 block around it in every direction. as 3/-2 rounded down is -1.
MAYBE I WASNT CLEAN ENOUGH I dont want to build something i want to be able to check if there is 3 x3 x3 block then i will make a gui open...
so if i place some kind of block 3 x3 x3...
not make a block 3x3x3.
1. You want to check whether there's a specific block in a 3 by 3 by 3 area?
2. You want to check for a 9 separate block structure in a 3 by 3 by 3 area?
3. You want to make a single block the size of 3 by 3?
For 1 and 2, the 6x6 template can be used.
i used the template 6 x 6 x 6 but i dont have a good example because of the variables.. it use the global variable i created..
so it doesnt explain completely how to do it...
i need a good example with real variable... the template only use the same global var all the time for example
if i created only 1 global variable called test
the template will use test for all the example...
so that doesnt help me making it..
i am trying to figure this out by using check block at x y z...
here is an example.. this is the 6 x6 x6 check block:
can someone show me where to put the variable... give me an example with the picture modify it is possible please
here is what i tried but dont seems to work...
See: https://www.youtube.com/watch?v=eRgV461KIm4&t=58s with filled in variables.