Material Beacons logo

Material Beacons

Changes how beacons work depending on the material used. Instead of beacons being built out of any valid material and then selecting an effect, the material used to build the beacon determines the effect.

Based on the concept of Hardcore Beacons from the Better Than Wolves mod.

Current Materials and Effects

Block Effect
Diamond Strength
Emerald Luck
Glass None
Glowstone Night vision
Gold Haste
Honey Regeneration
Honeycomb Absorption
Iron Resistance
Netherite Fire Resistance
Purpur Slow Falling
Redstone Speed
Slime Jump Boost

Datapacks

Beacon materials and effects can be added/modified using datapacks. The example json below creates a beacon using wool and/or clay with two tiers of effects:

  • Tier 1: Blindness and Nausea
  • Tier 2: Regeneration III

(/data/[namespace]/beacon/wool_clay.json)

{
  "bases": [
    "#minecraft:wool",
    "minecraft:clay"
  ],
  "powers": [
    [
      {
        "effect": "minecraft:blindness",
        "duration": 11,
        "amplifier": 0,
        "range": 10
      },
      {
        "effect": "minecraft:nausea",
        "duration": 11,
        "amplifier": 0,
        "range": 30
      }
    ],
    [
      {
        "effect": "minecraft:regeneration",
        "duration": 17,
        "amplifier": 3,
        "range": 30
      }
    ]
  ]
}

Bases are defined as a list of block tags or block ids. Powers are a list, with each index corresponding to a tier. Each tier contains a list of effects. As shown in the first tier, multiple effects can be assigned to a single tier. Note that each tier is independent of the others, and different effects and ranges can be applied for each tier.

Details

Licensed MIT
Published a year ago
Updated 3 months ago