»Anyone here pro at command blocks? Maybe some help :)

Discussion in 'Off-Topic' started by IcyTea, Dec 21, 2015.

  1. IcyTea

    IcyTea Nimble Knuckle Member

    Messages:
    392
    Ratings:
    +134 / -0
    I kinda need help on making block detection when placing items, and when it detects, the block toggles a command when detected. TY for appreciating the post.
     
    #1
  2. [Legend] gabby27

    [Legend] gabby27 Faithful Poster Member

    Messages:
    698
    Ratings:
    +402 / -0
  3. Soga

    Soga Forum Guru Member

    Messages:
    2,063
    Ratings:
    +639 / -0
    Maybe clock circuit + testforblock?
     
    #3
  4. IcyTea

    IcyTea Nimble Knuckle Member

    Messages:
    392
    Ratings:
    +134 / -0
    hmm, I tried that, but it toggles the command on a single area only
    e.g. if you're on x=5 and z=5 the command will toggle on x=0 and z=0
     
    #4
  5. Soga

    Soga Forum Guru Member

    Messages:
    2,063
    Ratings:
    +639 / -0
    How about testforblocks?
     
    #5
  6. IcyTea

    IcyTea Nimble Knuckle Member

    Messages:
    392
    Ratings:
    +134 / -0
    hmm ill try
     
    #6
  7. EnderLord16

    EnderLord16 Quick Digit Member

    Messages:
    219
    Ratings:
    +66 / -0
    testforblock <x> <y> <z> <TileName> [dataValue] [dataTag]

    x y z - coordinates
    TileName - block id
    datavalue (optional) - block data
    datatag (optional) - block data tags

    Set up a redstone clock so the command runs constantly and put a comparator facing out from the command block into another command block.
     

    Attached Files:

    #7
  8. PixelTM

    PixelTM Quick Digit Member

    Messages:
    280
    Ratings:
    +59 / -0
    I pro at thing except command
     
    #8
  9. IcyTea

    IcyTea Nimble Knuckle Member

    Messages:
    392
    Ratings:
    +134 / -0
    Doesn't Work. It only detects one area.

    I want to detect the block placed on a large area, and toggles a command, like /clone thing command.
     

    Attached Files:

    #9
  10. Tr1ckyShadow

    Tr1ckyShadow Ancient Poster Member

    Messages:
    709
    Ratings:
    +245 / -0
    then don't farm posts.
     
    #10
  11. Soga

    Soga Forum Guru Member

    Messages:
    2,063
    Ratings:
    +639 / -0
    #11
  12. [Legend] gabby27

    [Legend] gabby27 Faithful Poster Member

    Messages:
    698
    Ratings:
    +402 / -0
    you should try using the /execute command with testforblock.
     
    #12
  13. TheCatsKing

    TheCatsKing ★★★★★ Member

    Messages:
    945
    Ratings:
    +890 / -0
    put a /testforblock [coords]
    coords = where you want the block to be detected
     
    #13
  14. Soga

    Soga Forum Guru Member

    Messages:
    2,063
    Ratings:
    +639 / -0
    @IcyTea
    Do you want to do these?

     
    #14
  15. PizaCraft1

    PizaCraft1 Forum Master Member

    Messages:
    1,897
    Ratings:
    +1,461 / -0
    make it /execute i think
     
    #15
  16. PizaCraft1

    PizaCraft1 Forum Master Member

    Messages:
    1,897
    Ratings:
    +1,461 / -0
    second vid, /tempmute soga 12h da spam iz real
     
    #16
  17. Soga

    Soga Forum Guru Member

    Messages:
    2,063
    Ratings:
    +639 / -0
    http://minecraft.gamepedia.com/Commands#execute
    He wants to detect the block placed on a large area, so this doesn't work for it. Sorry if I'm wrong.
    lol xD
    And stop faming posts :p
     
    #17
  18. IcyTea

    IcyTea Nimble Knuckle Member

    Messages:
    392
    Ratings:
    +134 / -0
    omg can i have the command block structure on the first video :3
     
    #18
  19. Soga

    Soga Forum Guru Member

    Messages:
    2,063
    Ratings:
    +639 / -0
    #19
  20. jaguar_92

    jaguar_92 Faithful Poster Member

    Messages:
    513
    Ratings:
    +347 / -0
    ermegawd minecraft geeks .-.
     
    #20

Share This Page