Cómo detectar el click derecho en una zona facíl NoMods-

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025
  • Espero les sea de útilidad
    Nota: Ver el vídeo para entender la estructura de los comandos
    Comandos:
    Comando1: execute at @e[ type= villager, name= DetectarClick1] run particle minecraft:sweep_attack ~ ~1 ~ 0.1 0.5 0.1 0 2 force @a
    Comando2: summon minecraft:villager ~ ~ ~ {CustomName:"\"DetectarClick1\"",CustomNameVisible:1,NoAI:1b,PersistenceRequired:1b,NoGravity:1b,Silent:1,Invulnerable:1,Age:0}
    Comando3: effect give @e[ type= minecraft:villager , name=DetectarClick1] minecraft:invisibility infinite 1 true
    Comando4: execute as @a[distance=..5,scores={DetectarClick=1..}] run PON TU COMANDO
    Comando5: scoreboard players reset @a[scores={DetectarClick=1..}] DetectarClick
    Comando 6: scoreboard objectives add DetectarClick minecraft.custom:minecraft.talked_to_villager
    Comando del shulker:
    Nota no es necesario pero podría hacerles la vida más facíl
    /setblock ~ ~ ~ minecraft:black_shulker_box[facing=up]{CustomName:'"Detectar click con aldeano"',Items:[{Count:1b,Slot:13b,id:"minecraft:chain_command_block",tag:{BlockEntityTag:{Command:"/scoreboard players reset @a[scores={DetectarClick=1..}] DetectarClick",CustomName:'"@"',LastExecution:2135147L,LastOutput:'{"text":"[18:59:20] ","extra":[{"text":"","extra":[{"translate":"argument.entity.notfound.entity"}],"color":"red"}]}',SuccessCount:0,TrackOutput:1b,UpdateLastExecution:1b,auto:1b,conditionMet:1b,id:"minecraft:command_block",powered:0b},display:{Lore:['"(+NBT)"']}}},{Count:1b,Slot:15b,id:"minecraft:repeating_command_block",tag:{BlockEntityTag:{Command:"effect give @e[ type= minecraft:villager , name=DetectarClick1] minecraft:invisibility infinite 1 true",CustomName:'"@"',LastExecution:2134723L,LastOutput:'{"text":"[18:58:58] ","extra":[{"text":"","extra":[{"translate":"commands.effect.give.failed"}],"color":"red"}]}',SuccessCount:0,TrackOutput:1b,UpdateLastExecution:1b,auto:1b,conditionMet:1b,id:"minecraft:command_block",powered:0b},display:{Lore:['"(+NBT)"']}}},{Count:1b,Slot:20b,id:"minecraft:command_block",tag:{BlockEntityTag:{Command:"/scoreboard objectives add DetectarClick minecraft.custom:minecraft.talked_to_villager",CustomName:'"@"',SuccessCount:0,TrackOutput:1b,UpdateLastExecution:1b,auto:0b,conditionMet:0b,id:"minecraft:command_block",powered:0b},display:{Lore:['"(+NBT)"']}}},{Count:1b,Slot:22b,id:"minecraft:repeating_command_block",tag:{BlockEntityTag:{Command:"/execute as @a[distance=..5,scores={DetectarClick=1..}] run give @s gold_ingot 1",CustomName:'"@"',LastExecution:2134852L,SuccessCount:0,TrackOutput:1b,UpdateLastExecution:1b,auto:1b,conditionMet:1b,id:"minecraft:command_block",powered:0b},display:{Lore:['"(+NBT)"']}}},{Count:1b,Slot:24b,id:"minecraft:command_block",tag:{BlockEntityTag:{Command:'/summon minecraft:villager ~ ~ ~ {CustomName:"\\"DetectarClick1\\"",CustomNameVisible:1,NoAI:1b,PersistenceRequired:1b,NoGravity:1b,Silent:1,Invulnerable:1,Age:0}',CustomName:'"@"',SuccessCount:0,TrackOutput:1b,UpdateLastExecution:1b,auto:0b,conditionMet:0b,id:"minecraft:command_block",powered:0b},display:{Lore:['"(+NBT)"']}}},{Count:1b,Slot:26b,id:"minecraft:repeating_command_block",tag:{BlockEntityTag:{Command:"execute at @e[ type= villager, name= DetectarClick1] run particle minecraft:sweep_attack ~ ~1 ~ 0.1 0.5 0.1 0 2 force @a",CustomName:'"@"',LastExecution:2189246L,LastOutput:'{"text":"[19:44:27] ","extra":[{"translate":"commands.particle.success","with":["minecraft:sweep_attack"]}]}',SuccessCount:1,TrackOutput:1b,UpdateLastExecution:1b,auto:1b,conditionMet:1b,id:"minecraft:command_block",powered:0b},display:{Lore:['"(+NBT)"']}}}]}

Комментарии • 6

  • @ZuckoNa
    @ZuckoNa Год назад +3

    🎉el primero

  • @tomasito_7775
    @tomasito_7775 24 дня назад

    Se te agradece demasiado, llevo buscando esto hace dias

    • @ponter22
      @ponter22  24 дня назад

      @tomasito_7775 Un placer ayudar

  • @TheJoseDani
    @TheJoseDani 11 месяцев назад +1

    Muchas gracias! Gracias a esto implementare cosas chidas a un servidor

    • @ponter22
      @ponter22  11 месяцев назад

      ¡Encantado de ayudar!.

  • @tonys_64gamer34
    @tonys_64gamer34 Год назад +1

    el segundo