To sell the "realism" without actual violence:
# In tick.json (every 20 ticks)
execute as @a[hasitem=item=crossbow,location=slot.weapon.mainhand] at @s anchored eyes run particle minecraft:flash ~ ^ ^ ^1 0.1 0.1 0.1 0 10
playsound random.explode @a[distance=..30] ~ ~ ~ 0.5 1.2
While "guns in school" is a controversial subject for educational software, there are valid use cases for this mod in a supervised setting: realistic gun mod minecraft education edition
To understand the situation, one must understand the software architecture. Minecraft Education Edition is built on the Bedrock Engine (the same codebase used for Minecraft on Windows 10/11, consoles, and mobile devices). To sell the "realism" without actual violence: # In tick
While standard Bedrock Edition supports "Add-ons" (the Bedrock equivalent of mods), Education Edition is a "walled garden." While "guns in school" is a controversial subject
Using a dispenser with a redstone clock and a crossbow loaded with Firework Rockets creates a rapid-fire "rocket launcher" effect.