Minecraft Data Packs / Game Mechanic

Dcbrownie's Advanced Leveling

  • check_circle Functions
  • check_circle Predicates
  • 4,181 views, 1 today
  • 324 downloads, 0 today
  • 15
  • 10
  • 13
Dcbrownie's Avatar Dcbrownie
Level 15 : Journeyman Miner
1
1.17.1 minecraft datapack that implements a level system



This pack adds a customizable leveling system that includes four abilities:



[​Strength]: Strength affects the damage the player does. Attack damage starts at a quarter heart per unarmed hit and increments by a quarter heart per level. In mode 2, this stat is increased by dealing damage.



[​Dexterity]: Dexterity affects the movement speed and attack speed of the player. Movement speed starts at three quarters normal speed and increases by a tenth of normal speed per level. Attack speed starts at half the normal speed and increases by a quarter normal speed per level. In mode 2, this stat is increased by walking and running.



[​Constitution]: Constitution affects the maximum health of the player. Max health starts at 3 full hearts and increases by a half heart per level. In mode 2, this stat is increased by taking damage.



[​Luck]: Luck affects drops from ore. For every level in Luck, there is a chance for ore to drop more raw materials. In mode 2, this stat is increased by mining ores.



This datapack features two modes currently; in mode 1, the player spends experience levels in order to gain levels; in mode 2, the player gains levels from performing actions related to the stat they wish to level up



In order to get started, place this datapack in the datapacks folder of your world save. When you enter the world, you can get started by acquiring a Tome of Leveling, which is used to spend skill points acquired from leveling and to reset your character if necessary. In order to get this Tome of Leveling, sign a book and quill using the name "Level Tome" and it will automatically be converted


Settings for the datapack can be accessed by running the command:

/function lvl:settings
CompatibilityMinecraft 1.17
toMinecraft 1.18
Tags

1 Update Logs

Update #1 : by Dcbrownie 08/05/2021 12:14:35 amAug 5th, 2021

-minor update that fixes a bug with the predicate that tests for the level tome

Create an account or sign in to comment.

1
08/06/2021 1:07 am
Level 1 : New Miner
Steve616
Steve616's Avatar
How to level up to level 2
1
08/05/2021 4:30 pm
Level 1 : New Miner
ForestMat
ForestMat's Avatar
hello! i really like your datapack, but when i run the settings function and try to switch the mode to mode 1, it brings up a long command in chat that has an incorrect argument.
in chat it reads,
/data modify storage minecraft:lvl_config lvl_mode from value

it says that the "from value" part is incorrect, is there an easy fix for this?
1
08/05/2021 3:58 pm
Level 1 : New Miner
User3689774G
User3689774G's Avatar
how do i change the level cap i if i do /data modify storage minecraft:lvl_config mode1.max_level.lvl set value 500 it doesnt work and i still cant passed level 50
1
08/04/2021 10:20 pm
Level 1 : New Miner
wesndesinc
wesndesinc's Avatar
Same luis_ur
1
08/04/2021 10:15 pm
Level 12 : Journeyman Miner
Luis_Ur
Luis_Ur's Avatar
I really want to try it out but I can't seem to get it to work, I have tried several times naming a book and quill "Level Tome" however it doesn't trigger to unique book as shown in the video for some reason, I've tried it in creative and survival with no results.
2
08/05/2021 12:15 am
Level 15 : Journeyman Miner
Dcbrownie
Dcbrownie's Avatar
yup! I looked through the code and found an issue which has been fixed in this latest update
1
08/06/2021 9:03 am
Level 12 : Journeyman Miner
Luis_Ur
Luis_Ur's Avatar
Well, it did turn into a Tome of Leveling and displayed the controls. However, the tracked values didn't update, after clicking on them, though the text of them increasing was prompted in chat. There also wasn't a change in my XP or a display of my level/skill points. Not sure if another data pack is causing issues though, I do have a fair number installed.
1
08/04/2021 10:51 am
Level 1 : New Miner
GlowyMcSquid
GlowyMcSquid's Avatar
how do you switch to mode 2?
1
08/04/2021 11:35 pm
Level 15 : Journeyman Miner
Dcbrownie
Dcbrownie's Avatar
Just added it too the page all settings can be accessed by running the function: /function lvl:settings
2
08/03/2021 9:13 pmhistory
Level 1 : New Miner
AztekaLegacy
AztekaLegacy's Avatar
Hello, I need help, install the data pack and everything is fine,but when creatingthe volume it does not work, I put Level Take as you indicate but the book is not updated, any solution? Now my world is stuck and I have 3 hearts
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome