We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

605

/gamerule setExplosionDestruction <true/false>

under review

20 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 5
    Registered User commented
    Comment actions Permalink

    I agree this would also better control over what forms of destruction ship still letting the explode but not break things and other such things. 

  • 2
    Registered User commented
    Comment actions Permalink

    I totally agree, I really want this order in the game. I wrote some articles about Reddit ... about a command like this one. In addition the consoles have this kind of protection already implemented.

  • 1
    Registered User commented
    Comment actions Permalink

    Use the TNT Explodes gamerule.

     

  • 8
    Registered User commented
    Comment actions Permalink

    Agreed. While it makes sense that TNT is separate from "MobGriefing" (Since TNT isn't a form of mob griefing), a command to disable destructive things covered by MobGriefing while allowing for others would be great.

     

    Alternatively to the above idea, even just allowing a little more into the command. For example, doing /gamerule MobGriefing Creeper false to disable only the Creeper portion of MobGriefing. Doing this could allow people to enjoy villagers who can farm and snow golems who leave a trail, while negating the destruction caused by Creepers and Ghasts, and to a lesser extent Endermen.

     

    The Java edition does have options (Using a repeating command block to spam a command causing creepers to lose their radius, giving endermen the extended end of a piston, etc) involving the NBT data and /data command, in Bedrock the only way to deal with it is to teleport all "trouble mobs" into the void. This essentially removes gunpowder and ghast tears from the game though, as well as Ender Pearls if you applied it to Endermen too.

  • 1
    Registered User commented
    Comment actions Permalink

    I was going to post exactly this but found your post before! Exactly as you wrote. Explosions and other mobgriefing have to be separated. (My situation: I have a mobfarm with Creepers, and at the same time have villagers whou should harvest crops. Not possible with current mobGriefing. It s the only command I occasionally use.)

  • 0
    Registered User commented
    Comment actions Permalink

    I'm honestly just tired of having to fix builds other people blow up and I'm not willing to give up my autofarms for it. A command like this is long overdue. I would regularly just use command blocks but Bedrock has to work differently I guess

  • 0
    Registered User commented
    Comment actions Permalink

    And God spoke.

  • 0
    Registered User commented
    Comment actions Permalink

    Or it could be added at the end of the /gamerule command, as well as other forms (e.g. /gamerule mobgriefing setexplosiondestruction false), so that you can have endermen not steal blocks (/gamerule mobgriefing endermanstealing false) and your sheep will still eat grass to regrow their wool. You can disable other types of mobgriefing Sheepeating, and Villagerfarming, too.

  • 0
    Registered User commented
    Comment actions Permalink

    I've been wishing for this for years. This shouldn't be difficult to implement either, all of the functionality can already be toggled anyway. it would just be a matter of separating the different cases. Mobgriefing set to false also breaks drowned farms by the way.

  • 0
    Registered User commented
    Comment actions Permalink

    there is already a setting on java to disable tnt, please add the tag: (java) to the title

  • 0
    Registered User commented
    Comment actions Permalink

    when modding was simpler in pocket edition(now bedrock), I just to just make a javascript that changes all of the blocks' explosion resistance to same as obsidian. now i dont know how to mod/make addons. can someone make that?

  • 1
    Registered User commented
    Comment actions Permalink

    I would love a command like this, can always just make it where explosions still hurt the player but don't damage blocks as well.

  • 0
    Registered User commented
    Comment actions Permalink

    I think it would be awesome to do that. I like making maps to play in, and it would be cool to have explosions that do damage, but don't explode blocks around it.

  • 0
    Registered User commented
    Comment actions Permalink

    That would be Awesome for SpawnAnchors as weapons but without destroying the map

  • 1
    Registered User commented
    Comment actions Permalink

    The reason why tnt is not considered mob explosion is because it’s not a mob it’s a player that sets it off. Also there is a game rule for tnt that is in the same settings you don’t Evan have to use cheats. Also I think that command should be added there is a way to do it in Java but not bedrock and it’s to set the explosion size. Hoped this helped!

  • 0
    Registered User commented
    Comment actions Permalink

    depends what version you are talking about. bedrock has /gamerule tntexplodes false, java doesn't seem to have one (i don't play it). it would be nice if you labeled your post as bedrock or java, so please do

  • 0
    Registered User commented
    Comment actions Permalink

    I was thinking of something more like one of the comments here said. A gamerule that's able to change which specific blocks can or can't be destroyed, I'm not sure if there's a command already for that. Other than that, being able to make TNT explode without griefing is a great idea.

  • 0
    Registered User commented
    Comment actions Permalink

    As workaround for tnt you can handle tnt with Fuse around zero spawn ignited invisible creeper at this coordinates with same Fuse and then kill tnt, so same mobGriefing rule will applied

    For tnt_minecart you can handle TNTFuse

  • 1
    Registered User commented
    Comment actions Permalink

    This is already in the game it is called mobgriefing but i think I spelled it wrong

  • 1
    Registered User commented
    Comment actions Permalink

    The tntexplodes game rule already exists.

    Edit: This feedback post should be marked as released.