Get Command from Command Block?

Discussion in 'Plugin Development' started by NerdsWBNerds, May 3, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    NerdsWBNerds

    How can I make a plugin to get the command that is typed in a command block?
     
  2. Offline

    raGan.

    Get block state, cast it to CommandBlock, get command from that. But make sure that the state is actually instance of CommandBlock.
     
  3. Offline

    NerdsWBNerds


    Thanks
     
Thread Status:
Not open for further replies.

Share This Page