Usage
Pretty Beaches preserves shorelines automatically when you dig near water.
When a player breaks an affected block next to water, the broken block fills with a water source block. Smaller holes will also be flooded with water source blocks, preventing annoying spots of flowing water on the beach.
Affected Blocks
By default, Pretty Beaches only affects blocks in the prettybeaches:preserve_pretty block tag. The default tag contains minecraft:sand.
Modpacks can add more blocks to that tag with a data pack. If you want the behavior to apply to every block instead, enable affectAllBlocks in the config.
Creative Mode
Pretty Beaches is disabled for creative-mode instant break by default.
Enable enableInCreative if you want the same behavior while testing or building beaches in creative mode.
Bucket Water
The infiniteBucketWater option is off by default.
When enabled, using an empty bucket on water with adjacent water will refill the targeted water position instead of leaving a hole. This can create free water, so it should stay disabled in packs where water scarcity matters.