Skip to content

(1.19) How to use it.

Thomas B edited this page Jun 21, 2022 · 3 revisions

Json for the 1.19 version of the mod.

once you have created a datapack, create a folder called "effects" inside and put your json files with this code :

{
  "enabled": true,
  "block": "minecraft:soul_sand",
  "effects": [
    {
      "name": "minecraft:slowness",
      "amplifier": 1,
      "duration": 100
    }
  ]
}
  • enabled => set to false to disable it.
  • block => the block name
  • effects => array of effects(you can apply more than 1 to the player).

tags are supported as well

{
  "enabled": true,
  "tag": "minecraft:mineable/shovel",
  "effects": [
    {
      "name": "minecraft:slowness",
      "amplifier": 1,
      "duration": 100
    }
  ]
}
Clone this wiki locally