Minecraft PC IP: play.cubecraft.net

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
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
 

OMGItzDoom

Well-Known Member
Jul 30, 2016
79
13
83
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.
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
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.
The TNT effect is really cool, and I promise my minigame will not be like the Mineplex (shitty) stuff
Looks really good! :)
I like it too :p
Yay
Seems legit.........
Lel



Do I need to adjust the falling blocks, or it is funny right it is now?
 
  • Like
Reactions: OMGItzDoom

Troublesomee

Forum Veteran
Feb 6, 2016
2,888
4,145
404
Super funny, dont change , wont there be lag ingame with so much tnt and blocks flying around
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
Super funny, dont change
It's raining blocks.
wont there be lag ingame with so much tnt and blocks flying around
Blocks are blocks, do not worry. IT will no be like an entire desert falling.

Maybe just making TnT block going a bit higher
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
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
Nice - I like the animation physics
@GingerGeek
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); 
        }
 

Arcane

Well-Known Member
Nov 26, 2015
65
1
83
A small box
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);
        }
:) thanks
 
Members Online

Team online

Latest profile posts

This is YOUR daily dose of facts #20-
More tornadoes occur in the United Kingdom per square mile than in any other country in the world.
TheOrderOfSapphire wrote on Capitan's profile.
Congratulations on hitting over 4 000 in Reaction Score! 💙
some people need to talk to their internet provider to buy them a gym membership because theyre too FAT to take knockback
Top Bottom