17173有料社区

    查看: 245|回复: 1

    [互助技巧] 钱钱钱!自定存取任意数量物品+小键盘输入——物品银行OOC

    [复制链接]

    351

    主题

    424

    帖子

    1979

    积分

    实习版主

    Rank: 15Rank: 15Rank: 15Rank: 15Rank: 15Rank: 15

    发表于 2017-12-23 08:48:11 | 显示全部楼层 |阅读模式
    今天给大家带来的功能是:玩家可以输入数量来存取任意数量的指定物品

    先上效果图:
    取钱功能:
    221527rmmd3dtl1ptc53d1.gif
    余额不足时:
    221809nwm819dzhj1jlwce.gif
    存钱功能:
    222137qcgreghgyei44zde.gif
    可以选择1到9999任意数量
    222137x4baspbhu845bzah.gif
    手中物品数量不足时:

    222138a7732ahgg0mitx2h.gif


    原理部分:
    1:小键盘输入
    此过程用了两个计分板,click和count。click类型为trigger,通过tellraw点击事件,点击数字就把玩家的click计分板设定为相应积分。之后给玩家count积分×10+click
    实现进位,从而把玩家输入的数字按顺序排到一个计分板内。当玩家count分数超过四位数时,给玩家count/10,来强制限制位数

    之所以用trigger,是因为trigger可以让所有无权限玩家使用。详见:
    NWT丨trigger指令及应用【新人向】
    http://mc.netease.com/thread-5384-1-1.html
    (出处: 网易我的世界论坛)

    关键指令:
    • /execute @a[score_click_min=0] ~ ~ ~ /scoreboard players operation @P count *= @e[type=armor_stand,name=10] count

    • /execute @a[score_click_min=0] ~ ~ ~ /scoreboard players operation @p count += @p click

    • /execute @a[score_count_min=10000] ~ ~ ~ /scoreboard players operation @p[r=1] count /= @e[type=armor_stand,name=10] count


    [color=rgb(51, 102, 153) !important]复制代码


    2:给物品/清除物品
    此过程用了二分法思想(详见数学书....) 即把钻石分成1,2,4,8,16,32,64,128......2n  一共n份,从这n分中任意取出1到n份,就能组成1到2*2n-1中的任意数字。
    (同理著名数学课后题:把1000个硬币分到10个桶中,要求任意取出几桶都能组成1到1000的任意数量硬币)

    3:探测玩家物品数量
    探测玩家物品数量用到了stats指令,stats讲解详见:
    NWT丨stats指令基本教程及应用举例【新手向】
    http://mc.netease.com/thread-5350-1-1.html
    (出处: 网易我的世界论坛)
    • /stats entity @a[score_click2_min=10,score_click2=10] set AffectedItems @a[r=1] count2

    [color=rgb(51, 102, 153) !important]复制代码

    此指令可以吧命令影响的物品数量返回值输出到count2计分板上
    结合以下指令:
    • /execute @a[score_click2_min=10,score_click2=10] ~ ~ ~ clear @p diamond 0 0

    [color=rgb(51, 102, 153) !important]复制代码

    给玩家clear 0个物品,玩家物品数量不受到影响,但是总数量可以被stats监听到


    OOC部分:
    好了说了这么多肯定都不是你们关心的......下面给出具体指令ooc:
    由于直接发ooc中的斜杠经常被吃掉...所以最后还会给出附件,下载后可复制到命令方块使用(请按照三部分依次复制到三个并排的命令方块使用)
    第一部分:
    • /summon falling_block ~ ~1.5 ~ {Time:1,Block:minecraft:redstone_block,Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,Block:minecraft:activator_rail,Passengers:[{id:commandblock_minecart,Command:blockdata ~ ~-2 ~ {auto:0b,Command:""}},{id:commandblock_minecart,Command:setblock ~2 ~28 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_click2_min=1] click2 -1",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~27 ~0 chain_command_block 1 replace {Command:"/tellraw @a[score_click2_min=1,score_click2=2] [{\\"text\\":\\"\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\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\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n请输入数量\\",\\"color\\":\\"gold\\"},{\\"text\\":\\"   [鼠标单击输入]\\",\\"color\\":\\"gray\\"},{\\"text\\":\\"\\\\n您当前的余额为:\\",\\"color\\":\\"gold\\"},{\\"score\\":{\\"name\\":\\"@p\\",\\"objective\\":\\"money\\"},\\"color\\":\\"green\\",\\"bold\\":\\"true\\"},{\\"text\\":\\"\\\\n\\\\n     [1] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 1\\"}},{\\"text\\":\\"[2] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 2\\"}},{\\"text\\":\\"[3] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 3\\"}},{\\"text\\":\\"[确认]\\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click2 set 10\\"}},{\\"text\\":\\"\\\\n     [4] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 4\\"}},{\\"text\\":\\"[5] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 5\\"}},{\\"text\\":\\"[6] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 6\\"}},{\\"text\\":\\" [0] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 0\\"}},{\\"text\\":\\"\\\\n     [7] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 7\\"}},{\\"text\\":\\"[8] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 8\\"}},{\\"text\\":\\"[9] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click set 9\\"}},{\\"text\\":\\"[取消]\\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click2 set 11\\"}}]",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~26 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_click2_min=2,score_click2=2] option 1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~25 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_click2_min=1,score_click2=1] option 2",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~24 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_use_min=1] use 0",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~23 ~0 chain_command_block 1 replace {Command:"/tellraw @a[score_use_min=1] [{\\"text\\":\\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",\\"objective\\":\\"money\\"},\\"color\\":\\"green\\",\\"bold\\":\\"true\\"},{\\"text\\":\\"\\\\n\\\\n     [我要存钱] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click2 set 1\\"}},{\\"text\\":\\"\\\\n\\\\n     [我要取钱] \\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/trigger click2 set 2\\"}}]",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~22 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_count2_min=1] count2 -1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~21 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10] ~ ~ ~ /scoreboard players set @p[r=1] count 0",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~20 ~0 chain_command_block 1 replace {Command:"/execute @a[score_count=0,score_click2_min=11] ~ ~ ~ title @p title [{\\"score\\":{\\"name\\":\\"@p\\",\\"objective\\":\\"count\\"},\\"color\\":\\"green\\",\\"bold\\":\\"true\\"},{\\"text\\":\\"\\",\\"color\\":\\"gold\\",\\"bold\\":true}]",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~19 ~0 chain_command_block 1 replace {Command:"/tellraw @a[score_click2_min=10,score_click2=10,score_money4_min=1,score_option_min=2,score_option=2] [{\\"text\\":\\"\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n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n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n已成功将\\",\\"color\\":\\"gold\\"},{\\"score\\":{\\"name\\":\\"@p\\",\\"objective\\":\\"count\\"},\\"color\\":\\"green\\",\\"bold\\":\\"true\\"},{\\"text\\":\\"个物品存入云银行\\",\\"color\\":\\"gold\\"}]",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~18 ~0 chain_command_block 1 replace {Command:"/execute @a[score_count_min=1,score_click2=10,score_count2_min=0,score_option_min=2,score_option=2] ~ ~ ~ /scoreboard players operation @p[r=1] money += @p[r=1] count",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~17 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10,score_count2_min=0,score_option_min=2,score_option=2] ~ ~ ~ /scoreboard players operation @p[r=1] money4 = @p[r=1] count",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~16 ~0 chain_command_block 1 replace {Command:"/tellraw @a[score_click2_min=10,score_click2=10,score_count2=-1,score_option_min=2,score_option=2] [{\\"text\\":\\"\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\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",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~15 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10,score_option_min=2,score_option=2] ~ ~ ~ /scoreboard players operation @p[r=1] count2 -= @p[r=1] count",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~14 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10] ~ ~ ~ clear @p diamond 0 0",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~13 ~0 chain_command_block 1 replace {Command:"/stats entity @a[score_click2_min=10,score_click2=10] set AffectedItems @a[r=1] count2",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~12 ~0 chain_command_block 1 replace {Command:"/scoreboard players add @a[score_click2_min=10,score_click2=10] count2 0",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~11 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10,score_money3_min=1,score_option_min=1,score_option=1] ~ ~ ~ /scoreboard players set @p[r=1] count 0",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~10 ~0 chain_command_block 1 replace {Command:"/tellraw @a[score_click2_min=10,score_click2=10,score_money3_min=1,score_option_min=1,score_option=1] [{\\"text\\":\\"\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n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n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n已成功将\\",\\"color\\":\\"gold\\"},{\\"score\\":{\\"name\\":\\"@p\\",\\"objective\\":\\"count\\"},\\"color\\":\\"green\\",\\"bold\\":\\"true\\"},{\\"text\\":\\"个物品提取到背包\\",\\"color\\":\\"gold\\"}]",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~9 ~0 chain_command_block 1 replace {Command:"/execute @a[score_count_min=1,score_click2_min=10,score_click2=10,score_money2_min=0,score_option_min=1,score_option=1] ~ ~ ~ /scoreboard players operation @p[r=1] money -= @p[r=1] count",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~8 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10,score_money2_min=0,score_option_min=1,score_option=1] ~ ~ ~ /scoreboard players operation @p[r=1] money3 = @p[r=1] count",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~7 ~0 chain_command_block 1 replace {Command:"/tellraw @a[score_click2_min=10,score_click2=10,score_money2=-1,score_option_min=1,score_option=1]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\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n余额不足!\\",\\"color\\":\\"gold\\"}]",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~6 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10,score_option_min=1,score_option=1] ~ ~ ~ /scoreboard players operation @p[r=1] money2 -= @p[r=1] count",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~5 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click2_min=10,score_click2=10,score_option_min=1,score_option=1] ~ ~ ~ /scoreboard players operation @p[r=1] money2 = @p[r=1] money",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~4 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_click_min=0] click -1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~3 ~0 chain_command_block 1 replace {Command:"/scoreboard players set @a[score_click2_min=11,score_click2=11] count 0",auto:1b}},{id:commandblock_minecart,Command:"setblock ~2 ~2 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click_min=0] ~ ~ ~ title @p title [{\\"score\\":{\\"name\\":\\"@p\\",\\"objective\\":\\"count\\"},\\"color\\":\\"green\\",\\"bold\\":\\"true\\"},{\\"text\\":\\"\\",\\"color\\":\\"gold\\",\\"bold\\":true}]",auto:1b}"},{id:commandblock_minecart,Command:setblock ~2 ~1 ~0 chain_command_block 1 replace {Command:"/execute @a[score_count_min=10000] ~ ~ ~ /scoreboard players operation @p[r=1] count /= @e[type=armor_stand,name=10] count",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~0 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click_min=0] ~ ~ ~ /scoreboard players operation @p count += @p click",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-1 ~0 chain_command_block 1 replace {Command:"/execute @a[score_click_min=0] ~ ~ ~ /scoreboard players operation @p count *= @e[type=armor_stand,name=10] count",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-2 ~0 repeating_command_block 1 replace {Command:/scoreboard players enable @a option,auto:1b}},{id:commandblock_minecart,Command:setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}

    [color=rgb(51, 102, 153) !important]复制代码

    第二部分:
    • /summon falling_block ~ ~1.5 ~ {Time:1,Block:minecraft:redstone_block,Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,Block:minecraft:activator_rail,Passengers:[{id:commandblock_minecart,Command:blockdata ~ ~-2 ~ {auto:0b,Command:""}},{id:commandblock_minecart,Command:setblock ~2 ~29 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=1,score_money3=1] money3 1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~28 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=1,score_money3=1] diamond 1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~27 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=2,score_money3=3] money3 2",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~26 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=2,score_money3=3] diamond 2",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~25 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=4,score_money3=7] money3 4",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~24 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=4,score_money3=7] diamond 4",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~23 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=8,score_money3=15] money3 8",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~22 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=8,score_money3=15] diamond 8",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~21 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=16,score_money3=31] money3 16",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~20 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=16,score_money3=31] diamond 16",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~19 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=32,score_money3=63] money3 32",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~18 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=32,score_money3=63] diamond 32",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~17 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=64,score_money3=127] money3 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~16 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=64,score_money3=127] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~15 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=128,score_money3=255] money3 128",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~14 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=128,score_money3=255] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~13 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=128,score_money3=255] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~12 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=256,score_money3=511] money3 256",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~11 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=256,score_money3=511] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~10 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=256,score_money3=511] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~9 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=256,score_money3=511] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~8 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=256,score_money3=511] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~7 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money3_min=521] money3 512",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~6 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~5 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~4 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~3 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~2 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~1 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~0 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-1 ~0 chain_command_block 1 replace {Command:"/give @a[score_money3_min=512] diamond 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-2 ~0 repeating_command_block 1 replace {Command:/scoreboard players enable @a click2,auto:1b}},{id:commandblock_minecart,Command:/scoreboard objectives add money dummy},{id:commandblock_minecart,Command:/scoreboard objectives add money2 dummy},{id:commandblock_minecart,Command:/scoreboard objectives add money3 dummy},{id:commandblock_minecart,Command:/scoreboard objectives add money4 dummy},{id:commandblock_minecart,Command:/scoreboard objectives add count dummy},{id:commandblock_minecart,Command:/scoreboard objectives add count2 dummy},{id:commandblock_minecart,Command:summon Armor_Stand ~ ~1 ~ {CustomName:"10",CustomNameVisible:1b,NoBasePlate:1,NoGravity:1,Invisible:1}},{id:commandblock_minecart,Command:setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}

    [color=rgb(51, 102, 153) !important]复制代码

    第三部分:
    • /summon falling_block ~ ~1.5 ~ {Time:1,Block:minecraft:redstone_block,Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,Block:minecraft:activator_rail,Passengers:[{id:commandblock_minecart,Command:blockdata ~ ~-2 ~ {auto:0b,Command:""}},{id:commandblock_minecart,Command:setblock ~2 ~29 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=1,score_money4=1] money4 1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~28 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=1,score_money4=1] diamond 0 1",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~27 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=2,score_money4=3] money4 2",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~26 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=2,score_money4=3] diamond 0 2",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~25 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=4,score_money4=7] money4 4",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~24 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=4,score_money4=7] diamond 0 4",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~23 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=8,score_money4=15] money4 8",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~22 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=8,score_money4=15] diamond 0 8",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~21 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=16,score_money4=31] money4 16",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~20 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=16,score_money4=31] diamond 0 16",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~19 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=32,score_money4=63] money4 32",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~18 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=32,score_money4=63] diamond 0 32",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~17 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=64,score_money4=127] money4 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~16 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=64,score_money4=127] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~15 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=128,score_money4=255] money4 128",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~14 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=128,score_money4=255] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~13 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=128,score_money4=255] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~12 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=256,score_money4=511] money4 256",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~11 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=256,score_money4=511] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~10 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=256,score_money4=511] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~9 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=256,score_money4=511] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~8 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=256,score_money4=511] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~7 ~0 chain_command_block 1 replace {Command:"/scoreboard players remove @a[score_money4_min=521] money4 512",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~6 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~5 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~4 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~3 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~2 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~1 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~0 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-1 ~0 chain_command_block 1 replace {Command:"/clear @a[score_money4_min=512] diamond 0 64",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-2 ~0 repeating_command_block 1 replace {Command:/scoreboard players enable @a click,auto:1b}},{id:commandblock_minecart,Command:"/scoreboard players set @e[name=10,type=armor_stand] count 10"},{id:commandblock_minecart,Command:/scoreboard objectives add option trigger},{id:commandblock_minecart,Command:/scoreboard objectives add click trigger},{id:commandblock_minecart,Command:/scoreboard objectives add click2 trigger},{id:commandblock_minecart,Command:/scoreboard objectives add use stat.useItem.minecraft.carrot_on_a_stick},{id:commandblock_minecart,Command:/gamerule commandBlockOutput false},{id:commandblock_minecart,Command:/gamerule sendCommandFeedback false},{id:commandblock_minecart,Command:/give @p minecraft:carrot_on_a_stick},{id:commandblock_minecart,Command:/scoreboard players set @p money 500},{id:commandblock_minecart,Command:setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}



    回复

    使用道具 举报

    头像被屏蔽

    0

    主题

    90

    帖子

    194

    积分

    禁止发言

    发表于 2017-12-23 11:53:21 | 显示全部楼层
    提示: 作者被禁止或删除 内容自动屏蔽
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    点击这里给我发消息 点击链接加入【17173社区玩家群1】