Minecraft Data Packs / Game Mechanic

Level Up! Earn Experience And Become Stronger.

  • check_circle Functions
  • 9,169 views, 1 today
  • 1,265 downloads, 0 today
  • 13
  • 19
  • 30
Robosapien6219's Avatar Robosapien6219
Level 43 : Master Robot
26

Level Up! Earn Experience And Become Stronger!


This datapack adds a game mechanic which allows you to level up.
You can level up for every 5 experience points that you get.*

*(When you reach 5 experience points, you are set back to 0 and start going back up to 5 levels.)


The datapack is turned on from the start, this means you don't have to turn it on or anything.

If you encounter issues use: /reload
And if you are still experiencing issues try: /kill

This datapack should be multiplayer compatible although it is not tested.


To install this datapack, look at the button underneath the download button which is very conveniently titled "How to install Minecraft Data Packs".


The current attributes that you can level up are:

- Health
- Armour
- Attack Damage
- Attack Speed
- Attack Knockback
- Knockback Resistance
- Movement Speed

Each of them have a maximum level of 50.



ENJOY!
CompatibilityMinecraft 1.16
toMinecraft 1.18
Tags

Create an account or sign in to comment.

1
03/19/2022 8:40 pm
Level 7 : Apprentice Miner
LuqartzYT
LuqartzYT's Avatar
Instead of setting the level and xp to 0, you could do this line:
  
  xp add @s -5 levels

It does depend on, if you wanted this datapack to remove all levels (and hopes) of enchanting high level gear, or if you want it to work side by side with vanilla minecraft. My opinion: You should use the command above, to kinda balance it out a bit.
1
12/19/2021 10:32 pm
Level 1 : New Miner
gimmydemtoes
gimmydemtoes's Avatar
cant click the +1 lv up in realms
1
12/20/2021 3:47 am
Level 43 : Master Robot
Robosapien6219
Robosapien6219's Avatar
Realms often has many issues in general, so it could just be realms messing up.

However you could try the solution that D0ugpie38 found of /kill.
1
12/19/2021 8:24 pm
Level 1 : New Miner
gimmydemtoes
gimmydemtoes's Avatar
is there a way to change the it from lv 5 to higher as you CANT ENCHANT
1
12/19/2021 9:59 pm
Level 43 : Master Robot
Robosapien6219
Robosapien6219's Avatar
Unfortunately, there is no way to change this within the game. However this can be changed by:

1. Right clicking on the .zip file and clicking "Extract all" and then clicking extract.
2. Finding the file called "timer.mcfunction" or "timer" under \datapacks\level-up-by-robosapien6219\data\level_up\functions
3. Open this file with notepad.
4. In line one, change [level=5] to the desired level. e.g. [level=31]
5. Save the file.
6. Delete any extra copies of the pack other than the one you just edited.
7. Optionally, zip data, pack, and pack image into a zip folder. and repeat step 6.

This should not affect any gameplay apart from the level at which the level up is achieved.

TLDR and for those who know datapacks and/or file explorer; Change [Level=5] to [level=__] in timer.mcfunction.

1
12/19/2021 10:23 pm
Level 1 : New Miner
gimmydemtoes
gimmydemtoes's Avatar
thanks
1
10/24/2021 7:16 pm
Level 1 : New Miner
Hyperjoe24
Hyperjoe24's Avatar
I like this datapack. But unfortunately it makes it impossible to do high level enchantments as you can never get more than 4 enchantment levels.

Consider a system where each attribute costs 5 enchantment levels instead of getting a point every 5 enchantment levels. This will make it more expensive to get more attributes (which isn't necessarily a bad thing). But it will allow a player to use his/her levels for either level ups OR enchantments.
1
12/19/2021 10:01 pm
Level 43 : Master Robot
Robosapien6219
Robosapien6219's Avatar
Refer to my reply to gimmydemtoes's comment.
1
10/20/2021 9:50 pm
Level 3 : Apprentice Miner
Juleea
Juleea's Avatar
Thank you
2
10/17/2021 9:29 pm
Level 2 : Apprentice Miner
D0ugpie38
D0ugpie38's Avatar
I also had the same issue with getting the pack to work, i could reload it or disable it as per usually but I too was unable to use any of my levels! It would prompt me in chat to click on the [+1] but it wouldn't do anything even at lvl 10 it also would respond to /reload but didn't do much about the glitch! But I think I found a fix for it, I just /kill myself and after it gives me a new message that i died in chat, the next time I reached the 5 lvl threshold, I was finally able to use all of my acquired levels.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome