Skip to content

Commit 7890f24

Browse files
committed
1.5 Update (for 1.19) finished
1 parent fafe09a commit 7890f24

File tree

10 files changed

+65
-13
lines changed

10 files changed

+65
-13
lines changed

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This datapack add content based on magic essences (based on biomes).
3232
- <a href="#admin">⚙️ Admin Functions</a>
3333

3434
### 💽 Versions
35-
|| 1.18.2 |
35+
|| 1.19.x |
3636
| --- | --------------- |
3737
|| Singleplayer |
3838
|| Multiplayer |
@@ -44,7 +44,7 @@ This datapack add content based on magic essences (based on biomes).
4444
|| Realms |
4545
|| Bukkit |
4646
|| Spigot |
47-
| | Paper |
47+
| | Paper |
4848
|| Waterfall |
4949

5050
## ▶️ How i start?
@@ -63,10 +63,6 @@ Thanks to DataWorld discord (<a href="https://discord.me/dataworld">link</a>). A
6363

6464
Also thanks to <a href="https://github.com/Stoupy51">Stoupy51</a> for helping me in optimization
6565

66-
## 📖 Wiki
67-
68-
<a href="https://magical-elementalization.fandom.com/wiki/Magical_Elementalization_Wiki">Wiki here!</a>
69-
7066
## 🤝 Contributors
7167

7268
<a href = "https://github.com/LTHCTheMaster/Magical-Elementalization/graphs/contributors">
@@ -190,3 +186,18 @@ Changes:
190186
Removes:
191187

192188
- No Removes :)
189+
190+
### 1.5 Magical Elementalization - (release for mc 1.19) - Mental Health System Rework
191+
192+
News:
193+
194+
- Mangrove Collector Pylon
195+
- Few things for the new Mental State/Health System
196+
197+
Changes:
198+
199+
- The Mental State/Health System (<a href="./details/mental1.5.md">more details here</a>)
200+
201+
Removes:
202+
203+
- No Removes :)

data/lthc.mage/functions/core/loading/first_run/main.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Set the version of the datapack
2-
scoreboard players set #lthc.mage.version lthc.mage.data 010401
2+
scoreboard players set #lthc.mage.version lthc.mage.data 010500
33

44
# Create Scores
55
function lthc.mage:core/loading/score

data/lthc.mage/functions/core/loading/first_run/update.mcfunction

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Set the version of the datapack
2-
scoreboard players set #lthc.mage.version lthc.mage.data 010401
2+
scoreboard players set #lthc.mage.version lthc.mage.data 010500
3+
4+
scoreboard objectives remove lthc.mage.mental_state
35

46
# Update Scores
57
function lthc.mage:core/loading/score
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
execute store result score #game_version load.status run data get entity @r DataVersion
2-
execute unless score #game_version load.status matches 2975.. run tellraw @a {"text":"Magical Elementalization Error: This version is only available with Minecraft 1.18.2+.","italic":false,"color":"red"}
3-
execute unless entity @a run schedule function lthc.mage:core/loading/post_load 1t replace
2+
execute unless score #game_version load.status matches 3105.. run tellraw @a {"text":"Magical Elementalization Error: This version is only available with Minecraft 1.19+.","italic":false,"color":"red"}
3+
execute unless entity @a run schedule function lthc.mage:core/loading/post_load 1t replace

data/lthc.mage/functions/core/loading/reload.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ scoreboard objectives add lthc.mage.data dummy
33

44
# Check if it is the datapack first run or an update of the datapack
55
execute unless score #lthc.mage.first_run lthc.mage.data matches 1 run function lthc.mage:core/loading/first_run/main
6-
execute if score #lthc.mage.first_run lthc.mage.data matches 1 unless score #lthc.mage.version lthc.mage.data matches 010401 run function lthc.mage:core/loading/first_run/update
6+
execute if score #lthc.mage.first_run lthc.mage.data matches 1 unless score #lthc.mage.version lthc.mage.data matches 010500 run function lthc.mage:core/loading/first_run/update
77

88
# Summon a marker at the worldspawn for something
99
execute as @e[type=marker,tag=lthc.mage] run function lthc.mage:try_unload

data/lthc.mage/functions/first_join.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ scoreboard players set @s lthc.mage.info 0
77
## Mental purity/illness Data definition
88
# Default Mental State : 100 and 5
99
execute unless score @s lthc.mage.mental_state_2 matches -2147483648..2147483647 run scoreboard players set @s lthc.mage.mental_state_2 100
10-
execute run scoreboard players set @s lthc.mage.mental_state 5
10+
execute unless score @s lthc.mage.mental_state matches -2147483648..2147483647 run scoreboard players set @s lthc.mage.mental_state 5
1111
# Default last used spell : 0
1212
execute unless score @s lthc.mage.data matches -2147483648..2147483647 run scoreboard players set @s lthc.mage.data 0
1313
# Default count of last used : 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
tellraw @s ["",{"text":"Magical Elementalization","color":"green"},{"text":"\n\nVersion: "},{"text":"v 1.4.1.1","color":"#FFDD00"},{"text":"\nBug Tracker: "},{"text":"*click*","color":"#FFDD00","clickEvent":{"action":"open_url","value":"https://github.com/LTHCTheMaster/Mage-of-LTHC/issues"}}]
1+
tellraw @s ["",{"text":"Magical Elementalization","color":"green"},{"text":"\n\nVersion: "},{"text":"v 1.5","color":"#FFDD00"},{"text":"\nBug Tracker: "},{"text":"*click*","color":"#FFDD00","clickEvent":{"action":"open_url","value":"https://github.com/LTHCTheMaster/Mage-of-LTHC/issues"}}]
22
scoreboard players set @s lthc.mage.info 0

details/mental1.5.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# The Mental State/Health System changes in Magical Elementalization 1.5
2+
3+
## If you used an old version
4+
5+
All player's mental health stats are reset to use the new mental health system
6+
7+
## What are new mental health levels?
8+
9+
before 1.5:
10+
11+
```md
12+
- REALLY BAD
13+
- BAD
14+
- NEUTRAL
15+
- GOOD
16+
- REALLY GOOD
17+
```
18+
19+
now in 1.5:
20+
21+
```md
22+
- Hell
23+
- Really Bad ++
24+
- Really Bad +
25+
- Really Bad
26+
- Bad
27+
- Neutral
28+
- Good
29+
- Really Good
30+
- Really Good +
31+
- Really Good ++
32+
- Heaven
33+
```
34+
35+
*(less agressive syntax)*
36+
37+
## A new progression curve for health levels !
38+
39+
The lower your sanity, the faster it will decrease. The higher your sanity, the slower it will increase.

magical_elementalization_rp.zip

705 KB
Binary file not shown.

0 commit comments

Comments
 (0)