Project

Saro's Better Glass

Adds realistic physics to glass - break it with arrows, smash it with anvils, and enjoy 3D shard particles.

Header

Overview

Saro's Better Glass transforms the way glass works in Minecraft. It changes glass from a static block into a dynamic, breakable material with realistic physics and fully configurable options.

Description

Key Features

๐Ÿน Arrow Breaking

  • Shoot Through: Arrows (and all other AbstractArrow projectiles) now smash through glass blocks.
  • Trajectory: Arrows continue their flight path after breaking the glass.
  • Shard Effect: Breaking glass spawns shards with configurable count.

๐Ÿ”จ Anvil Smashing

  • Physics: Falling anvils will shatter glass blocks beneath them and continue falling.
  • Chain Reaction: Can destroy multiple glass blocks in succession.

๐Ÿ’ฅ Entities Break Through Glass

  • Breakthrough System: Entities (players, mobs, Iron Golems) can break through glass!
  • Speed-based: The faster an entity moves, the more likely it breaks through.
  • Size Factor: Larger entities (e.g., Iron Golems) need less speed.
  • Cooldown: 1 second cooldown prevents multiple breakthroughs.

๐Ÿ”ฎ Realistic Glass Shards (Entity System)

  • 3D Shard Entities: Glass shatters into physically correct 3D shard entities.
  • 17 Glass Types: Normal glass + 16 colored glass variants are supported.
  • 17 Glass Panes: All glass panes are also supported.
  • Configurable Count: Default 23 shards, adjustable from 1-30.
  • Physics Simulation: Shards have gravity, friction, and realistic movement.
  • Sound Effects: Shards create glass break sounds on impact.

๐Ÿฉธ Shard Damage

  • Step Damage: Entities take damage when stepping on shards lying on the ground.
  • Shoes Protect: Boots protect from shard damage (configurable).
  • Creative Mode: Players in creative mode don't take damage.
  • Flying Shards: Fast-moving shards cause damage on collision.

๐Ÿ’ฃ Explosion Support

  • Explosions: Glass destroyed by explosions also spawns shards.
  • TNT & Creeper: Works with all explosion sources.

๐Ÿ”ง Mod Compatibility

  • Modded Glass: Supports glass blocks from other mods (configurable).
  • TaCZ Guns: Full compatibility with Timeless and Classics Zero weapons!

Supported Glass Blocks

Type Blocks
Normal Glass
Stained White, Orange, Magenta, Light Blue, Yellow, Lime, Pink, Gray, Light Gray, Cyan, Purple, Blue, Brown, Green, Red, Black Stained Glass
Tinted Tinted Glass
Panes Glass Pane + all 16 Stained Glass Panes

Configuration

All features are configurable in config/sarosbetterglassmod-common.toml:

Feature Toggles

Option Default Description
enableArrowGlassBreaking true Arrows break glass
enableAnvilGlassBreaking true Anvils break glass
enableModdedGlassSupport true Support for modded glass
enableEntityGlassBreaking true Entities can break through glass
enableTacWeaponGlassBreaking true TaCZ weapon compatibility

Shard Settings

Option Default Range Description
enableGlassShards true - Enable shards
glassShardCount 23 1-30 Shards per block
glassShardFriction 0.7 0.1-1.0 Friction (higher = less sliding)
glassShardLifetime 200 20-6000 Lifetime in ticks (20 = 1 sec)
glassShardGroundTime 100 20-1200 Ground time before despawn
enableMiningGlassShards true - Shards when mining
enableExplosionGlassShards true - Shards from explosions

Damage Settings

Option Default Range Description
enableGlassShardDamage true - Enable shard damage
glassShardDamageAmount 1.0 0.5-5.0 Damage (half hearts)
shoesProtectFromGlass true - Boots protect
entityGlassBreakingThreshold 2.0 0.5-10.0 Min damage for breakthrough

Gallery

Projectiles vs Glass Anvil vs Glass

Showcase

Note: This wiki serves as documentation. For active discussion, please join the Discord Server.

Featured

Need a Custom Mod?

Concept to code. I build professional, optimized mods tailored to your exact specifications.

Hire me on Fiverr โ†’