Skip to content

Datapack Reference

Drehverschluss edited this page Nov 2, 2026 · 1 revision

Datapack reference

Everything Renegades reads from data, on one page. All files support neoforge:conditions; a file at the same path in a higher datapack replaces the bundled one; /reload applies changes. Invalid files or entries are skipped with a warning in the log.

Data files

Path Purpose Details
data/<ns>/renegades/equipment_pools/<path>.json What a renegade wears, per class, tier and condition Equipment pools
data/<ns>/renegades/rare_items/<path>.json Very rare special items (e.g. unique weapons) replacing one piece Rare items
data/<ns>/renegades/spawn_groups/<path>.json Which groups spawn naturally, with weights and conditions Spawn groups
data/<ns>/renegades/caster_visuals/<path>.json Which Spell Engine spell lends its look to which ability caster_visuals
data/renegades/loot_table/entities/<class>.json Regular loot table of each class (empty by default) Vanilla loot table format

equipment_pools

{
  "entity": "renegades:warrior",
  "fallback": false,
  "entries": [
    {
      "id": "my_tier1",
      "weight": 1,
      "conditions": { "dimensions": ["minecraft:overworld"], "max_distance": 1500 },
      "equipment": { "chest": "minecraft:iron_chestplate", "mainhand": ["minecraft:iron_sword", "minecraft:iron_axe"] },
      "variant": "fire"
    }
  ]
}

Fields: entity, fallback, entries[] with id, weight, conditions (dimensions, min_distance, max_distance, min_y, max_y, min_level, max_level), equipment (head, chest, legs, feet, mainhand, offhand: item, #tag, item object with item / enchantments / enchant_with_levels, or a list), variant.

rare_items

{
  "entity": "renegades:warrior",
  "slot": "mainhand",
  "chance": 0.0025,
  "items": ["arsenal:unique_glaive_1", "arsenal:unique_glaive_2"],
  "replaces": "#renegades:rare_replace/glaive_t2_t3"
}

Fields: entity (id or list), slot, chance, items, replaces, conditions, allow_affixes.

spawn_groups

{
  "leader": "renegades:paladin",
  "weight": 2,
  "members": [ { "entity": "renegades:priest", "min": 1, "max": 1 } ]
}

Fields: leader, weight (> 0), conditions, members[] with entity, min, max.

caster_visuals

{
  "entity": "renegades:priest",
  "abilities": { "heal": "paladins:heal", "holy_bolt": { "spell": "paladins:penance", "sounds": false } }
}

Fields: entity (id or list), abilities (key → spell id or object with spell, variants, model, particles, sounds). Ability keys per class: Spell looks.

Tags

Tag Type Purpose Default
#renegades:spawns/<class> biome Biomes a class may spawn in as group leader (for other mods' entities: #renegades:spawns/<namespace>/<path>) #minecraft:is_overworld, #minecraft:is_nether, #minecraft:is_end
#renegades:rare_replace/<weapon>_t2_t3 item Tier 2-3 weapons a bundled unique may replace (double_axe, glaive, dagger, sickle, claymore, hammer, mace, shield, longbow, heavy_crossbow, fire_staff, frost_staff, arcane_staff, holy_staff, aqua_staff, terra_staff, wind_staff, berserker_axe, lute, lyre, knuckle) the diamond/netherite (tier 2-3) items of the class mods
#renegades:magic damage type All renegade spell schools renegades:generic, arcane, fire, frost, healing, lightning, soul, water, earth, air
#renegades:spell_projectile damage type Blocked spell bolts renegades:spell_projectile

Damage types and tags

Renegades registers these damage types: renegades:generic, arcane, fire, frost, healing, lightning, soul, water, earth, air (spell schools) and renegades:spell_projectile (used when a shield blocks a spell bolt). It puts them into the tags other mods check:

Tag Contains
c:is_magic #renegades:magic, #renegades:spell_projectile (e.g. Dynamic Difficulty's magic damage bonus)
neoforge:is_magic #renegades:magic, renegades:spell_projectile (e.g. Apotheosis "Magic Damage reduced")
minecraft:is_lightning renegades:lightning (e.g. Apotheosis "Lightning Damage reduced")
minecraft:bypasses_armor #renegades:magic
minecraft:bypasses_shield #renegades:magic
minecraft:is_projectile #renegades:spell_projectile
minecraft:witch_resistant_to #renegades:magic, #renegades:spell_projectile
minecraft:panic_causes #renegades:magic, #renegades:spell_projectile

/renegades damagetags lists our damage types (and Spell Power's) with these tags.

Example: Spell Power schools in the magic tags

Spell Power's own schools are only in c:is_magic. A modpack that wants Apotheosis' reductions to work against them (e.g. against players' spells) can add them with a datapack, for example:

// data/neoforge/tags/damage_type/is_magic.json
{ "replace": false, "values": [ { "id": "#spell_power:all", "required": false } ] }
// data/minecraft/tags/damage_type/is_lightning.json
{ "replace": false, "values": [ { "id": "spell_power:lightning", "required": false } ] }

Other data that affects renegades

  • Apotheosis augments (data/apotheosis/apothic_augments): the augment random_affix_items decides how often a renegade becomes an elite. See Elites (Apotheosis).
  • Language keys entity.renegades.elite and entity.renegades.elite_set (resource packs) set the wording of elite titles.

Clone this wiki locally