Minecraft RPG classes and skill trees

Data packs

RPG classes, XP and passive skill prerequisitesLearn more

Build an RPG data pack with classes and passive skills. Add separate XP for mob kills, levels, skill costs and prerequisites, permanent class choices and saved progress.

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

Configure your result

Effects: speed, haste, strength, resistance, jump_boost, night_vision, water_breathing, fire_resistance, luck. Requirements — skill IDs of the same class separated by commas.

Result обновляется сам, When вы меняете field.

Files are processed on the server. The generated archive is cached for one hour; original uploads are not saved.

Result

Example · Settings by default

Tak выглядит Archvile with настройками Shapes literally. Поменяйте them and press "Build and preview» — Here появится ваш.

/function j41577074:join
/trigger j41577074_class set 1
/trigger j41577074_learn set 1
/function j41577074:leave
  • Java 26.3; XP are individual points, not enchantment levels. For a new mob kill: 10 XP; every 100 accumulated XP give a level, maximum 100.
  • Buying a skill spends an XP wallet but does not lower the level. Class is selected once; re-study does not cancel points. Progress is maintained after death and /reload.
  • The passive effects of the form list are maintained without active spells. Leave stops updating the effects; the latter will expire in two seconds. Countdown is limited to 10,000 homicides/s and 100 million XPs.
What's inside the archive - 2 files

skills.json

{
  "classes": {
    "1": "warrior",
    "2": "scout",
    "3": "miner"
  },
  "skills": {
    "1": {
      "id": "tough",
      "cls": "warrior",
      "level": 1,
      "cost": 20,
      "requires": [],
      "effect": "resistance",
      "amp": 0
    },
    "2": {
      "id": "strong",
      "cls": "warrior",
      "level": 2,
      "cost": 100,
      "requires": [
        "tough"
      ],
      "effect": "strength",
      "amp": 0
    },
    "3": {
      "id": "quick",
      "cls": "scout",
      "level": 1,
      "cost": 20,
      "requires": [],
      "effect": "speed",
      "amp": 0
    },
    "4": {
      "id": "mining",
      "cls": "miner",
      "level": 1,
      "cost": 20,
      "requires": [],
      "effect": "haste",
      "amp": 0
    }
  }
}

README.txt

Minecraft Java 26.3. Создайте отдельный тестовый мир и положите ZIP в datapacks. /reload.
/function j41577074:join
/trigger j41577074_class set 1
/trigger j41577074_learn set 1
/function j41577074:leave
Java 26.3; XP — отдельные очки, не уровни зачарований. За новое убийство моба: 10 XP; каждые 100 накопленных XP дают уровень, максимум 100.
Покупка навыка тратит кошелёк XP, но не понижает уровень. Класс выбирается один раз; повторное изучение не списывает очки. Прогресс сохраняется после смерти и /reload.
Поддерживаются пассивные эффекты из списка формы, без активных заклинаний. Leave прекращает обновление эффектов; последние истекут через 2 секунды. Учёт ограничен 10 000 убийств/сек и 100 млн XP.
Download Example ZIP

How to use the result

  1. Ask up to four classes and 16 skills.

    Set the date pack at Java 26.3; join includes account, trigger class selects class, trigger lightn buys skill by number from scills.json.

What to know

  • Configure up to four classes and 16 skills, then install the data pack in Java 26.3. Use join to participate, trigger class to choose a class, and trigger learn to buy a skill by its number in skills.json.
  • XP for new kills is separate from enchantment XP. Purchases use the wallet and preserve level. Class, level, dependencies, and price are checked; repeated purchases do not deduct XP.
  • Skills provide selected passive effects and update once per second. There are no active spells. Leave stops XP gain and updates; progress survives death and world reloads.

Frequently asked questions

How to set up classes and RPG skill dependencies?

Build an RPG data pack with classes and passive skills. Add separate XP for mob kills, levels, skill costs and prerequisites, permanent class choices and saved progress.

How individual XP is spent when purchasing a skill?

Configure up to four classes and 16 skills, then install the data pack in Java 26.3. Use join to participate, trigger class to choose a class, and trigger learn to buy a skill by its number in skills.json.

What passive skill tree abilities are supported?

Skills provide selected passive effects and update once per second. There are no active spells. Leave stops XP gain and updates; progress survives death and world reloads.