Is there a way to make a dispenser shoot out a fireball with a specific explosion power?



  • How do I summon a fireball with a specific explosion power in a dispenser?

    /summon minecraft:fireball ~ ~ ~ {ExplosionPower:200}

    I know how to summon one with commands, but I don't know how to make this shoot out of a dispenser.



  • Use a command block to summon the fireball right in front of the dispenser, and the motion tag to set it moving. You can attach any redstone mechanisms you would attach to the dispenser to the command block.

    To summon a fireball that has an Explosion Power of 4 and moves East at an initial velocity of 3.0: (starting in 1.16, use the Motion NBT tag to set initial velocity instead of the direction tag)

    /summon fireball ~ ~1 ~ {ExplosionPower:4,Motion:[3.0,0.0,0.0]}
    

    https://www.digminecraft.com/game_commands/summon_fireball.php




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2