Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /execute @e[type=armor_stand,tag=setupMarker29e1,c=1] ~ ~ ~ summon commandblock_minecart ~ ~ ~ {TrackOutput:0b,Command:"/setblock ~1 ~5 ~ chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar += @e[c=1,r=0] farmlandValue\",auto:1b}",Passengers:[{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~5 ~ chain_command_block 4 replace {Command:\"/execute @e[tag=cropSideMarker] ~ ~ ~ /scoreboard players operation @e[tag=cropCenterMarker,c=1] calcVar += @e[c=1,r=0] farmlandValue\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~5 ~ chain_command_block 4 replace {Command:\"/execute @e[tag=cropSideMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar = @e[c=1,r=0] plantId\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~5 ~ chain_command_block 2 replace {Command:\"/execute @e[tag=cropSideMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar -= @e[tag=cropCenterMarker,c=1] plantId\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~5 ~-1 chain_command_block 5 replace {Command:\"/scoreboard players reset @e selectorVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~5 ~-1 chain_command_block 5 replace {Command:\"/scoreboard players set @e[tag=cropSideMarker,score_plantId_min=1,score_calcVar=0,score_calcVar_min=0] selectorVar 0\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~5 ~-1 chain_command_block 5 replace {Command:\"/scoreboard players set @e[score_selectorVar=0,tag=X] calcVar2 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~5 ~-1 chain_command_block 5 replace {Command:\"/scoreboard players set @e[score_selectorVar=0,tag=Z] calcVar2 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~5 ~-1 chain_command_block 2 replace {Command:\"/scoreboard players set @e[tag=cropCenterMarker] calcVar2 2\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~5 ~-2 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar2 -= @e[score_selectorVar=0,tag=X,c=1,r=2] calcVar2\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~5 ~-2 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar2 -= @e[score_selectorVar=0,tag=Z,c=1,r=2] calcVar2\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~5 ~-2 chain_command_block 4 replace {Command:\"/execute @e[score_selectorVar=0,tag=diagonal] ~ ~ ~ /scoreboard players set @e[tag=cropCenterMarker,c=1] calcVar2 0\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~5 ~-2 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] growDenominator = #2500 calcVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~5 ~-2 chain_command_block 1 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar2=0] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] growDenominator *= #2 calcVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~6 ~-2 chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] growDenominator /= @e[c=1,r=0] calcVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~6 ~-2 chain_command_block 5 replace {Command:\"/scoreboard players add @e[tag=cropCenterMarker] growDenominator 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~6 ~-2 chain_command_block 5 replace {Command:\"/scoreboard players set @e[tag=cropCenterMarker] growNumerator 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~6 ~-2 chain_command_block 5 replace {Command:\"/scoreboard players set @e[tag=cropCenterMarker,score_plantId_min=5] calcVar 0\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~6 ~-2 chain_command_block 3 replace {Command:\"/execute @e[tag=cropCenterMarker,score_plantId_min=5] ~ ~ ~ detect ~1 ~ ~ air * /scoreboard players add @e[c=1,r=0] calcVar 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~6 ~-1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_plantId_min=5] ~ ~ ~ detect ~-1 ~ ~ air * /scoreboard players add @e[c=1,r=0] calcVar 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~6 ~-1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_plantId_min=5] ~ ~ ~ detect ~ ~ ~1 air * /scoreboard players add @e[c=1,r=0] calcVar 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~6 ~-1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_plantId_min=5] ~ ~ ~ detect ~ ~ ~-1 air * /scoreboard players add @e[c=1,r=0] calcVar 1\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~6 ~-1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_plantId_min=5] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] growNumerator *= @e[c=1,r=0] calcVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~6 ~-1 chain_command_block 3 replace {Command:\"/execute @e[tag=cropCenterMarker,score_plantId_min=5] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] growDenominator *= #4 calcVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~6 ~ chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar = #100 calcVar\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~6 ~ chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar /= @e[c=1,r=0] growDenominator\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~6 ~ chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker] ~ ~ ~ /scoreboard players operation @e[c=1,r=0] calcVar *= @e[c=1,r=0] growNumerator\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~6 ~ chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=0,score_calcVar=5] ~ ~ ~ /title @p[r=1,tag=growthPrintActionbar] actionbar [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"dark_red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~6 ~ chain_command_block 3 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=6,score_calcVar=11] ~ ~ ~ /title @p[r=1,tag=growthPrintActionbar] actionbar [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~6 ~1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=12,score_calcVar=17] ~ ~ ~ /title @p[r=1,tag=growthPrintActionbar] actionbar [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"gold\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~6 ~1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=18,score_calcVar=23] ~ ~ ~ /title @p[r=1,tag=growthPrintActionbar] actionbar [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"yellow\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~6 ~1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=24,score_calcVar=29] ~ ~ ~ /title @p[r=1,tag=growthPrintActionbar] actionbar [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"green\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~6 ~1 chain_command_block 4 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=29,score_calcVar=33] ~ ~ ~ /title @p[r=1,tag=growthPrintActionbar] actionbar [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"dark_green\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~6 ~1 chain_command_block 3 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=0,score_calcVar=5] ~ ~ ~ /tellraw @p[r=1,tag=growthPrintChat] [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"dark_red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~6 ~2 chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=6,score_calcVar=11] ~ ~ ~ /tellraw @p[r=1,tag=growthPrintChat] [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-1 ~6 ~2 chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=12,score_calcVar=17] ~ ~ ~ /tellraw @p[r=1,tag=growthPrintChat] [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"gold\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~6 ~2 chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=18,score_calcVar=23] ~ ~ ~ /tellraw @p[r=1,tag=growthPrintChat] [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"yellow\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~6 ~2 chain_command_block 5 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=24,score_calcVar=29] ~ ~ ~ /tellraw @p[r=1,tag=growthPrintChat] [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"green\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~6 ~2 chain_command_block 1 replace {Command:\"/execute @e[tag=cropCenterMarker,score_calcVar_min=29,score_calcVar=33] ~ ~ ~ /tellraw @p[r=1,tag=growthPrintChat] [{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"dark_green\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growNumerator\\\"}},\\\"/\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"growDenominator\\\"}},\\\" (≈\\\",{\\\"score\\\":{\\\"name\\\":\\\"@e[tag=cropCenterMarker,c=1]\\\",\\\"objective\\\":\\\"calcVar\\\"}},\\\"%)\\\"]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~2 ~7 ~2 chain_command_block 4 replace {Command:\"/kill @e[tag=cropMarker]\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~1 ~7 ~2 chain_command_block 4 replace {Command:\"/scoreboard players reset @a userTrigger\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~7 ~2 chain_command_block 4 replace {Command:\"/scoreboard players enable @a userTrigger\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~-2 ~4 ~-2 repeating_command_block 5 replace {Command:\"/scoreboard players tag @a[tag=growthRunOnce] remove growthRun\",auto:1b}"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/kill @e[type=armor_stand,tag=setupMarker29e1,c=1]"},{id:"commandblock_minecart",TrackOutput:0b,Command:"/setblock ~ ~2 ~ redstone_block"}]}
Add Comment
Please, Sign In to add comment