[Resource] Tornado! Spawn a tornado with zero client mods. v3.2

Discussion in 'Resources' started by LucasEmanuel, Nov 19, 2013.

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

    DevRosemberg

    DarkBladee12 likes this.
  2. Offline

    codename_B

    In the end they weren't the best way to do it lol
     
  3. Offline

    chasechocolate

    DevRosemberg mine was just made of explosion particles xD
     
  4. Offline

    coco5843

    Can you share with explosion particule ? It 's possibly to make others particules ?
     
  5. Offline

    DarkBladee12

    coco5843 If it's possible with explosion particles then it's possible with all particles :p
     
  6. Offline

    coco5843

    How ? explosions are not effects you can createExplosion and cancel block damage
     
  7. Offline

    DarkBladee12

    coco5843 Explosions are particle effects, so he probably sent them with a lib to all players!
     
  8. Offline

    ArthurHoeke

    I have the code in my plugin, But how to spawn a tornado?
     
  9. Offline

    GermanCoding

    You have to call the 'spawnTornado()' method in the class/code.
     
  10. Offline

    ArthurHoeke

    GermanCoding I know, But when im trying to spawn one, i get no error but there spawns nothing..
    I have this code used
    spawnTornado.spawnTornado(Main.this, p.getLocation(), Material.WEB, (byte) 0, new Vector(2, 0, 2), 0.1, 100, 1, false, false);
     
  11. Offline

    ArthurHoeke

    Okay, I found a working command, But how to let players picked up by the tornado
     
  12. Offline

    coco5843

  13. Offline

    ArthurHoeke

    coco5843 This is just a plugin, I need to add this in my own plugin...
     
  14. Offline

    coco5843

    your tornado don't spawn when event or scheduler ?
     
  15. Offline

    michael566

    what do you put in the location? Cause when I do p.getlocation(), it says you cant have it.
    LucasEmanuel
     
  16. Offline

    michael566

    Anyone?
     
  17. Offline

    LucasEmanuel

    Can you give a bit more detailed explanation of your problem?
     
  18. Offline

    michael566

    So I did this:
    Code:java
    1. spawnTornado(this, p.getLocation() , null, null, 200, 30);


    And it marks it all red.
     
  19. Offline

    LucasEmanuel

    But what does it say the error is?
     
  20. Offline

    michael566

  21. Offline

    LucasEmanuel

  22. Offline

    michael566

    LucasEmanuel Can you give me example arguments because the ones I put down don't work.

    nvm I got it this is what I used:
    Code:java
    1. spawnTornado(this, p.getLocation(), Material.STONE, (byte) 0, vec, 0.3D, 100, 100, true, false);


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  23. Offline

    Permeer

    How I make to the tornado dont break the picked blocks?
     
  24. Offline

    Jnorr44

  25. Offline

    ChipDev

    This is godly :O
    Seriously, I can spawn tornadoes. (So godly.)

    Or you o.o

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  26. Offline

    123ang

    LucasEmanuel Is it possible that you could post usage code in a command for the latest version?
     
  27. Offline

    LucasEmanuel

    What do you mean?
     
  28. Offline

    jimbo8

    I tried to disable block pickup by changing to this:

    Code:java
    1. if (b.getType() == Material.WEB) {
    2. new_blocks.add(new VortexBlock(b.getLocation(), b.getType(), b.getData()));
    3. }


    but it still picks up blocks :p

    Is there a way to disable it completely?
     
  29. Offline

    LucasEmanuel

    I haven't looked at this code for a very long time. Yes it is possible, but I don't remember how :)
     
    jimbo8 likes this.
  30. Offline

    123ang


    LucasEmanuel I mean like a way to summon the tornado, using a command.
     
Thread Status:
Not open for further replies.

Share This Page