Back to mods
Qubit Player XP project artwork

Modrinth · Minecraft mod

Qubit Player XP

A tiny, configurable mod intended for use in modpacks. Allows for configuration of the XP leveling and XP drop on death formulas.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Qubit Player XP release matches 26.3?

Updated yesterday
Best match for your filters 2.0.0
Game version 26.3
Loader Fabric

Qubit Player XP 2.0.0 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Qubit Player XP required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Qubit Player XP 2.0.0 need?

2.0.0 on 26.3. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Qubit Player XP 2.0.0
required
Matching file found Matched file: 0.161.0+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Qubit Player XP without breaking your instance.

Built for Qubit Player XP 2.0.0 on 26.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.0. It opens that exact file at the source.

About this project

What does Qubit Player XP add?

Qubit Player XP

A tiny, configurable mod intended for use in modpacks.

Allows for configuration of the XP leveling and XP drop on death formulas.

Usage

By default, this mod should change nothing.

It can be configured with a file at <mc folder>/config/qubit/player_xp.json,
which looks like this:

{
  "level_formula": /* ... */,
  "xp_drop": /* ... */
}

level_formula provides the amount of XP needed for the next level.

xp_drop provides the amount of XP dropped on death.

Both level_formula and xp_drop are integer providers,
and default to the formulas used in vanilla. Note the Minecraft Wiki page for Number Providers and Predicates is currently quite outdated.

These integer providers are passed the player as their this entity for loot context.

Two integer providers have also been added to build formulas with:

qubit:player_xp/level

{
  "type": "qubit:player_xp/level"
}

Returns the player's current level. Can only be used in level_formula and xp_drop.

qubit:player_xp/points

{
  "type": "qubit:player_xp/points"
}

The number of experience points the player has towards the next level. Can only be used in xp_drop.

Example Config

This is the config with the default (vanilla) formulas:

{
  "level_formula": {
    "type": "minecraft:number_dispatcher",
    "cases": [
      {
        "condition": {
          "type": "minecraft:int_value_check",
          "value": { "type": "qubit:player_xp/level" },
          "test": { "min": 0, "max": 15 }
        },
        "value": {
          "type": "minecraft:add",
          "inputs": [ 7, {
            "type": "minecraft:mul",
            "inputs": [ 2, { "type": "qubit:player_xp/level" } ]
          }]
        }
      },
      {
        "condition": {
          "type": "minecraft:int_value_check",
          "value": { "type": "qubit:player_xp/level" },
          "test": { "min": 16, "max": 30 }
        },
        "value": {
          "type": "minecraft:add",
          "inputs": [ -38, {
            "type": "minecraft:mul",
            "inputs": [ 5, { "type": "qubit:player_xp/level" } ]
          }]
        }
      }
    ],
    "default": {
      "type": "minecraft:add",
      "inputs": [ -158, {
        "type": "minecraft:mul",
        "inputs": [ 9, { "type": "qubit:player_xp/level" } ]
      }]
    }
  },
  "xp_drop": {
    "type": "minecraft:min",
    "inputs": [ 100, {
      "type": "minecraft:mul",
      "inputs": [ 7, { "type": "qubit:player_xp/level" } ]
    }]
  }
}

For the legacy 1.0 config, see the old version of this README.

Project description from Modrinth.

Pick your setup

Qubit Player XP by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Qubit Player XP versions and loaders

2 of 4 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.