Skip to content

Data Pack Customizations

Wendall Cada edited this page Aug 1, 2023 · 1 revision

Data Pack Customizations

Drinkable Items

Customizations for mods should be added to a .json file in ~/data/{mod_id}/environment/drinkable/ and have the name {item_id}.json Example

Example (apple.json):

{
  "type": "minecraft:apple",
  "amount": 2,
  "effect_chance": 0.0,
  "effect_duration": 0,
  "effect_potency": 0,
  "saturation": 0.6
}

Properties

  • type - item id for drinkable item
  • amount - amount of hydration restored
  • effect_chance - chance of causing thirst effect (dirty water does this)
  • effect_duration - duration of effect
  • effect_potency - potency of effect
  • saturation - hydration saturation

Drinkable Fluids

Customizations for mods should be added to a .json file in ~/data/{mod_id}/environment/fluids/ and have the name {fluid_id}.json Example

Example (water.json):

{
  "amount": 1,
  "effect_chance": 0.2,
  "effect_duration": 200,
  "effect_potency": 45,
  "fluid": "minecraft:water",
  "saturation": 0.0
}

Properties

  • fluid - fluid id for drinkable fluid
  • amount - amount of hydration restored
  • effect_chance - chance of causing thirst effect (dirty water does this)
  • effect_duration - duration of effect
  • effect_potency - potency of effect
  • saturation - hydration saturation

Block Radiation

Customizations for mods should be added to a .json file in ~/data/{mod_id}/environment/block_radiation/ and have the name {block_id}.json Example

Example (blast_furnace.json):

{
  "block": "minecraft:blast_furnace",
  "max_radiation": 1800.0
}

Properties

  • block - block id of radiation block
  • max_radiation - maximum radiation a block can produce, WARNING changing this to values above 10000 will have terrible gameplay results. Try to not change this to be like TAN, just go use that mod.

Biome Category

Customizations for mods should be added to a .json file in ~/data/{mod_id}/environment/biome_category/ and have the name {biome_id}.json Example

Example (plains.json):

{
  "biome": "minecraft:plains",
  "category": "PLAINS"
}

Properties