generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Joel Paul edited this page Dec 18, 2024
·
1 revision
Welcome to the Material-Beacons wiki!
Block | Effect |
---|---|
Diamond | Strength |
Glass | None |
Glowstone | Night vision |
Gold | Haste |
Honey | Regeneration |
Honeycomb | Absorption |
Iron | Resistance |
Netherite | Fire Resistance |
Purpur | Slow Falling |
Redstone | Speed |
Slime | Jump Boost |
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.