Post by Dawid on Feb 22, 2014 22:46:24 GMT
After a good hour(s) of work i have finally fixed all my problems regarding the Car contraption. I will have a video link to show its workings but for now ill just show the redstone components and all commands used.
The Mechanism
The Individual Rotations testers
Clone Grid
Player Spawning
Clone Grid:
edit ONLY the cars in the clone grid in their specific rotations [from left to right their rotations are as follows]:
-Left,Forwards,Right,Backwards
How it Works:
Steps:
-A commandblock Clock is used.
-Testfor each player rotation
-Comparator Reset clone
-Redstone Block Placed to start second clock
-connected to second clock is:
-/setblock ~ ~1 ~ minecraft:air
-/execute @p ~ ~ ~ clone -471 22 94 -477 25 88 ~-3 ~-1 ~-3 [Clones the actual car and its rotation to player]
-/execute @p ~ ~ ~ fill ~4 ~-1 ~-4 ~-4 ~2 ~4 minecraft:air [Destroys the area around the car to stop smudging]
The Start mechanism:
-TP's Player 20 blocks to the right
-Places a Block underneath the player [so you spawn in the car at the right height]
-Places a redstone block in the First commandblock clock to start it up
-deletes the redstone block that is stoping the first commandblock clock
In the Car:
-A button that places a block right next to the top command block on the first command block clock. stoping it.
-Deletes the car
BUGS:
-Only one I know of, if you press the end driving button while in the rotation parameters you will destroy the blocks underneath you.
World Download
Any CONSTRUCTIVE CRITICISM would be nice thank you
The Mechanism
The Individual Rotations testers
Clone Grid
Player Spawning
Clone Grid:
edit ONLY the cars in the clone grid in their specific rotations [from left to right their rotations are as follows]:
-Left,Forwards,Right,Backwards
How it Works:
Steps:
-A commandblock Clock is used.
-Testfor each player rotation
-Comparator Reset clone
-Redstone Block Placed to start second clock
-connected to second clock is:
-/setblock ~ ~1 ~ minecraft:air
-/execute @p ~ ~ ~ clone -471 22 94 -477 25 88 ~-3 ~-1 ~-3 [Clones the actual car and its rotation to player]
-/execute @p ~ ~ ~ fill ~4 ~-1 ~-4 ~-4 ~2 ~4 minecraft:air [Destroys the area around the car to stop smudging]
The Start mechanism:
-TP's Player 20 blocks to the right
-Places a Block underneath the player [so you spawn in the car at the right height]
-Places a redstone block in the First commandblock clock to start it up
-deletes the redstone block that is stoping the first commandblock clock
In the Car:
-A button that places a block right next to the top command block on the first command block clock. stoping it.
-Deletes the car
BUGS:
-Only one I know of, if you press the end driving button while in the rotation parameters you will destroy the blocks underneath you.
World Download
Any CONSTRUCTIVE CRITICISM would be nice thank you