Game Maker

Change Blocks in Radius (Weighted)

Replaces blocks in a radius with a random selection from a weighted list.

This is an advanced version of Change Blocks in Radius. Instead of changing all blocks to a single type, it replaces them with a random material chosen from a weighted list.

Configuration

  • Center, Radius, Target Types, Invert Target: Same as the standard version.
  • New Types (Weighted): A list where you can add multiple materials, each with a "weight". Higher weights are more likely to be chosen.

Use Cases

  • Generating a random ore vein when a player mines a block.
  • Creating a "corrupted" area that replaces stone with a mix of Netherrack, Soul Sand, and Blackstone.