Jump to content

Extra TNT Mod (Well, Skript.)


gdgroshon

Recommended Posts

You heard the title. (read, actually...) I made a mimic of a TNT. It doesn't have physics yet though, because I have no idea how.


You have to light each TNT separately because I can't figure out Chain Reactions.


You can get the TNT's by doing /givetnt. (Don't worry, the permissions are set to operator.)


on right click on lapis lazuli block holding a flint and steel:
 name of tool is "Magic Flint and Steel"
 cancel the event
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to lapis lazuli block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to lapis lazuli block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to lapis lazuli block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to air
 create an explosion of force 8 at the block

on right click on green wool holding a flint and steel:
 name of tool is "Magic Flint And Steel"
 cancel the event
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to green wool
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to green wool
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to green wool
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to air
 create an explosion of force 40 at the block

on right click on crimson hyphae holding a flint and steel:
 name of tool is "Magic Flint and Steel"
 cancel the event
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to crimson hyphae
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to crimson hyphae
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to crimson hyphae
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to air
 play sound "ENTITY_GHAST_AMBIENT" at the block
 create an explosion of force 25 at the block with fire
 spawn 3 ghasts 5 meters above the block

on right click holding a blaze rod:
 name of tool is "Dynamite"
 cancel the event
 play sound "ENTITY_EGG_THROW"
 remove a blaze rod named "Dynamite" from the player
 shoot a primed tnt from the player at speed 1

on right click on magenta glazed terracotta holding a flint and steel:
 name of tool is "Magic Flint And Steel"
 cancel the event
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 0.5 second
 set block to quartz block
 play smoke on the player
 wait 0.5 second
 set block to magenta glazed terracotta
 play smoke on the player
 wait 0.5 second
 set block to quartz block
 play smoke on the player
 wait 0.5 second
 set block to magenta glazed terracotta
 play smoke on the player
 wait 0.5 second
 set block to quartz block
 play smoke on the player
 wait 0.5 second
 set block to magenta glazed terracotta
 play smoke on the player
 wait 0.5 second
 set block to quartz block
 play smoke on the player
 wait 0.5 second
 set block to air
 create an explosion of force 4 at the player

on right click on loom holding a flint and steel:
 name of tool is "Magic Flint And Steel"
 cancel the event
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to loom
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to loom
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to loom
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to air
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 1
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 2
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 3
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 4
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 5
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 6
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 7
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 8
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 9
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 10
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 11
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 12
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 13
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 14
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks

on right click on diamond ore holding a flint and steel:
 name of tool is "Magic Flint And Steel"
 cancel the event
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to diamond ore
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to diamond ore
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to diamond ore
 wait 0.5 second
 set block to quartz block
 wait 0.5 second
 set block to air
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the player
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 shoot a primed tnt from the block at speed 0
 play sound "ENTITY_TNT_PRIMED" at the block
 wait 5 ticks
 
command /givetnt:
 permission: op
 trigger:
  give a flint and steel named "§rMagic Flint And Steel" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give a lapis lazuli block named "§rTNT x2" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give a green wool block named "§rTNT x10" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give a crimson hyphae named "§rHellfire TNT" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give a magenta glazed terracotta named "§rFollowing TNT" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give a loom named "§rMultiply TNT" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give a diamond ore named "§rDrill TNT" to the player
  play sound "ENTITY_ITEM_PICKUP"
  wait a tick
  give 64 blaze rods named "§rDynamite" to the player
  play sound "ENTITY_ITEM_PICKUP"

on right click on wither rose holding a flint and steel:
 cancel the event
 play sound "ENTITY_EXPERIENCE_ORB_PICKUP" at the block
 remove a flint and steel from the player
 give a flint and steel named "§rMagic Flint and Steel" to the player
 create an explosion of force 1 at the block



 

 

Edited by gdgroshon
Changed from file to codeblock
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...