1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Awesome thing with TNT

Discussion in 'Plugins/Codes' started by A Christmas Hangar, Aug 3, 2016.

  1. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Welcome to this thread, this is a simple thing I am making. A realistic TNT (that is throwable), it is for a simple minigame, wich I am making ( ͡° ͜ʖ ͡°).
    Video:



    instead of posting "You deserver JrDev/Dev" go and spam @GingerGeek pls ;P
     
  2. sinaandaman

    sinaandaman Member

    Joined:
    Jun 6, 2016
    Messages:
    72
    Likes Received:
    35
    Trophy Points:
    18
    Gender:
    Male
    noice m8
     
  3. xTurtleOfficialㅤ

    xTurtleOfficialㅤ Member

    Joined:
    Dec 1, 2015
    Messages:
    5,291
    Likes Received:
    372
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    idk
    Location:
    Earth
    Looks really good! :)
     
  4. OMGItzDoom

    OMGItzDoom Member

    Joined:
    Jul 30, 2016
    Messages:
    79
    Likes Received:
    13
    Trophy Points:
    8
    Gender:
    Male
    Occupation:
    School Kid.
    Location:
    Croatia
    Seems like a game from Mineplex, if i remember it was some name "Bomb Lobbers?" but anyways like the TnT and the other stuff which i thinks gonna come.
     
  5. iScotteh

    iScotteh Member

    Joined:
    Feb 6, 2016
    Messages:
    747
    Likes Received:
    508
    Trophy Points:
    93
    Gender:
    Male
    Seems legit.........



    Nice!!!
     
  6. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    The TNT effect is really cool, and I promise my minigame will not be like the Mineplex (shitty) stuff
    I like it too :p
    Yay
    Lel



    Do I need to adjust the falling blocks, or it is funny right it is now?
     
    OMGItzDoom likes this.
  7. xTurtleOfficialㅤ

    xTurtleOfficialㅤ Member

    Joined:
    Dec 1, 2015
    Messages:
    5,291
    Likes Received:
    372
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    idk
    Location:
    Earth
    It's good.
    Don't change it
     
  8. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    okay :D
     
  9. iScotteh

    iScotteh Member

    Joined:
    Feb 6, 2016
    Messages:
    747
    Likes Received:
    508
    Trophy Points:
    93
    Gender:
    Male
    Super funny, dont change , wont there be lag ingame with so much tnt and blocks flying around
     
  10. OMGItzDoom

    OMGItzDoom Member

    Joined:
    Jul 30, 2016
    Messages:
    79
    Likes Received:
    13
    Trophy Points:
    8
    Gender:
    Male
    Occupation:
    School Kid.
    Location:
    Croatia
    Maybe just making TnT block going a bit higher

    EDIT: Dont mind "shitty" thing, i messed up quote a lil bit :D
     
  11. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    It's raining blocks.
    Blocks are blocks, do not worry. IT will no be like an entire desert falling.

    This is how it is right now: Vector smallerVector = playerDirection.multiply(1.0D);
    I will try adjusting it, 1.5 is more or less the same, I'll se what happens with 2.0
     
  12. Zrathex

    Zrathex Member

    Joined:
    Aug 3, 2016
    Messages:
    977
    Likes Received:
    452
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Got a subwoofer! Neightbours hate me now XD
    Location:
    MARS WITHOUT OXYGEN :|
    If this was a minigame on here then I would try it \o/
     
  13. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Me too \o/
     
  14. Arcane

    Arcane Member

    Joined:
    Nov 26, 2015
    Messages:
    65
    Likes Received:
    1
    Trophy Points:
    8
    Gender:
    Male
    Occupation:
    UIUX Designer
    Location:
    A small box
    Nice - I like the animation physics
    @GingerGeek
     
  15. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Yay ;D

    If you're curious this is the Handler that do the "flying blocks"
    Code:
     
    //register the events first!
    @EventHandler
        public void onEnityExplode(EntityExplodeEvent e) {
            for (Block b : e.blockList()) {
                float x = (float)-5 + (float) (Math.random() * ((4 - -5 ) + 1));
                float y = (float)-6 + (float) (Math.random() * ((4 - -6 ) + 1));
                float z = (float)-5 +(float) (Math.random() * ((4 - -5 ) + 1));
                FallingBlock fb = b.getWorld().spawnFallingBlock(b.getLocation(), b.getType(), b.getData());
                fb.setDropItem(false); //no drops
                fb.setVelocity(new Vector(x,y, z));
               
                b.setType(Material.AIR); 
            }
     
  16. Arcane

    Arcane Member

    Joined:
    Nov 26, 2015
    Messages:
    65
    Likes Received:
    1
    Trophy Points:
    8
    Gender:
    Male
    Occupation:
    UIUX Designer
    Location:
    A small box
    :) thanks
     
  17. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    No problem :D
     
  18. 1212hawks_

    1212hawks_ Member

    Joined:
    Jul 16, 2016
    Messages:
    1,298
    Likes Received:
    677
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Playing on Cubecraft
    Location:
    A nest filled with Dogs and Hawks
    Home Page:
    LOOKS AMAZING! This plugin should be added..
     
  19. tyled

    tyled Member

    Joined:
    Jul 28, 2016
    Messages:
    20
    Likes Received:
    2
    Trophy Points:
    3
    Gender:
    Male
    i would try this minigame \o/
     
  20. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,542
    Likes Received:
    1,489
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    For PVP duels, this is a great detail. :)
    With @TheJeroen, we are working on a nice project, based on his suggestion. The TNT effect will be added.
     
    TheJeroen likes this.