License: MIT
Mod dependencies: tnt
Optional mod dependencies: tnt_revamped
+
features
Make chest volatile
By setting the chest's group to volatile it will be able to explode, Also it can be made into a trap chest.
Example:
Setting explosive materials
On any node or item that is to be explosive, set its group to explosive = [insert number]. The number is the radius of the explosion.
Example:
Trap chest
To make a trap chest place the explodingchest:trap craftitem into any volatile chest. If the chest contains any explosive materials it will blow up on right click.
explodingchest:trap Has no crafting receipt. You have to give it one.
By setting the chest's group to volatile it will be able to explode, Also it can be made into a trap chest.
Example:
- Code: Select all
groups = {volatile = 1}
Setting explosive materials
On any node or item that is to be explosive, set its group to explosive = [insert number]. The number is the radius of the explosion.
Example:
- Code: Select all
groups = {explosive = 3}
Trap chest
To make a trap chest place the explodingchest:trap craftitem into any volatile chest. If the chest contains any explosive materials it will blow up on right click.
explodingchest:trap Has no crafting receipt. You have to give it one.
+
config
These settings can be changed in advanced settings.
To limit the size of the explosion.
The way the explosion is calculated.
Multiply means explosive material is multiplied.
Reduce means the initial explosion size is set to the biggest explosive material then the rest is dividend by reduce.
The amount to divide by. (this is only in use if radius_comput is set to reduce)
Blast Type
Instant blast type means the volatile container will blow up in 0 seconds.
Entity blast type means the volatile container will turn into a entity (You need tnt_revamped mod turn on for this)
Timer blast type means the volatile container will have a delay before blowing up.
This setting is for when the volatile container is opened and theres a trap craftitem inside.
Instant blast type means the volatile container will blow up in 0 seconds.
Entity blast type means the volatile container will turn into a entity (You need tnt_revamped mod turn on for this)
Timer blast type means the volatile container will have a delay before blowing up.
Blast delay timer (only works for entity and timer)
If timer is set to zero then the timer is auto set to the blast radius size.
To limit the size of the explosion.
- Code: Select all
explodingchest.explosion_max = 11
The way the explosion is calculated.
Multiply means explosive material is multiplied.
Reduce means the initial explosion size is set to the biggest explosive material then the rest is dividend by reduce.
- Code: Select all
explodingchest.radius_comput = "multiply"
The amount to divide by. (this is only in use if radius_comput is set to reduce)
- Code: Select all
explodingchest.reduce = 288
Blast Type
Instant blast type means the volatile container will blow up in 0 seconds.
Entity blast type means the volatile container will turn into a entity (You need tnt_revamped mod turn on for this)
Timer blast type means the volatile container will have a delay before blowing up.
- Code: Select all
explodingchest.blast_type (Blast type) = "timer"
This setting is for when the volatile container is opened and theres a trap craftitem inside.
Instant blast type means the volatile container will blow up in 0 seconds.
Entity blast type means the volatile container will turn into a entity (You need tnt_revamped mod turn on for this)
Timer blast type means the volatile container will have a delay before blowing up.
- Code: Select all
explodingchest.trap_blast_type (Trap blast) = "instant"
Blast delay timer (only works for entity and timer)
If timer is set to zero then the timer is auto set to the blast radius size.
- Code: Select all
explodingchest.timer = 0
+
screenshot
ContentDB
Browse Code
Download