Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
🏷 Finally Update v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
2mal3 committed Apr 27, 2021
1 parent 422ec1b commit 38695df
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 25 deletions.
62 changes: 52 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,62 @@
# Advanced Monsters Datapack v1.3.0
Compatibility: Multiplayer 1.16+
# Advanced Monsters Datapack
![GitHub release (latest by date)](https://img.shields.io/github/v/release/2mal3/Advanced-Monsters-Datapack?style=flat-square) ![GitHub all releases](https://img.shields.io/github/downloads/2mal3/Advanced-Monsters-Datapack/total?style=flat-square) ![GitHub](https://img.shields.io/github/license/2mal3/Advanced-Monsters-Datapack?style=flat-square)

This datapack adds the chance for normal monsters to become advanced monsters. These monsters are faster, stronger and have more lives, so the game becomes a bit more difficult.
That is all.
This datapack adds the chance for normal monsters to become advanced monsters. These monsters are faster, stronger and have more lives, so the game becomes a bit more difficult. That is all.

### Settings:
The command: `scoreboard players set $admo.transform_chance admo.data <number>` can be used to set the probability of spawning the advanced monsters.
The probability is calculated with **1 / the set number**. Example: If you set as the number 20 the probability is 5% (1/20=0.05=5%).
If the number is 1, every monster is advanced.
If the number is 0, no monster is advanced.
## 📖 Features:
- Adds a little challenge to the game
- Performant
- Multiplayer compatible
- Easy to configure
- Good compatibility with other datapacks

### Exact information about advanced monsters:
## ⚙ Settings:
The command: `scoreboard players set $transform_chance admo.data <number>` can be used to set the probability of spawning the advanced monsters. The probability is calculated with **1 / the set number**. Example: If you set as the number **20** the probability is **5%** (1 / **20** = 0.05 = **5%**).
If the number is **1**, every monster is advanced. If the number is **0**, no monster is advanced.

## 📝 Exact information about advanced monsters:
- 70% more damage
- 50% more life
- 20% faster attacks
- 30% larger range
- 20% faster

***

## 📊 Bug reports:
I do test my datapack, but I do not find all the bugs. To improve the quality, it helps a lot if you tell me about any bugs you find, so I can fix them. You can do this either on the [Planet Minecraft](https://www.planetminecraft.com/data-pack/advanced-monsters-datapack/) website as a comment or on the [GitHub](https://github.com/2mal3/Advanced-Monsters-Datapack/issues) website as an issue. To help me better, it would also be handy if you debug the datapack. You can do this by simply run the command
`/function #2mal3:neel/debug`
and write the displayed message into the bug report.

## 💾 Versions:
|| 1.16+ |
| --- | ------------ |
|| Singleplayer |
|| Multiplayer |
|| Vanilla |
|| Fabric |
|| Forge |
|| Realms |
|| Bukkit |
|| Spigot |
|| PaperSpigot |

## 🚀 Performance:
Normally, the datapack has almost no noticeable impact on performance, but at very high mob spawn rates (large servers, mob farms, etc.) there may be small lags.

## ✅ Compatibility with other datapacks:
The datapack should be compatible with most datapacks as long as they are not:
- Change blocks at 9232029 1 6397680
- Remove all forceloaded areas
- Use monsters whose names or abilities are important (Unimportant if this datapack follows the [datapack conventions](https://mc-datapacks.github.io/en/)).

***

## 🔄 Updating:
Just replace the old datapack file with the new one and reload the world. The rest is done by the datapack.

## ♻ Uninstallation:
- Execute the command `/function #2mal3:admo/uninstall`
- Confirm that you want to uninstall the datapack
- Optional: Delete the datapack file from the datapack folder of the world
- Reload the world
22 changes: 21 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@

Update v1.4.0 (27.4.2021)

This update actually only changes a few code internal things, but overall improves the quality and usability.

Changed:
- Datapack core updatet
- Test for wrong Minecraft version or server software added
- Datapack updater added
- Better installation of the datapack
- Better compatibility with other datapcks
- Debug function added
- Clearer code
- Better method to change the name of an advanced monster
- Internal variable names

Bug fixes:
- When asked if you really want to uninstall the datapack, the name of the datapack was not mentioned.

----------------------------------------------------------------

Update v1.3.0 (24.1.2021)

Added:
Expand Down Expand Up @@ -101,4 +121,4 @@ Update v1.0.1 (5.4.2020)
Bug fixes:
- I do not know

----------------------------------------------------------------
----------------------------------------------------------------
2 changes: 1 addition & 1 deletion data/2mal3/advancements/admo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"display": {
"title": "Advanced Monsters v1.3.0",
"title": "Advanced Monsters v1.4.0",
"description": "Adds advanced monsters that spawn with a certain probability.",
"icon": {
"item": "minecraft:zombie_head"
Expand Down
2 changes: 1 addition & 1 deletion data/2mal3/functions/admo/core/first_run/main.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ scoreboard objectives add admo.debug_mode dummy
# Set start config
scoreboard players set $transform_chance admo.data 10
# Set the version in format: xx.xx.xx
scoreboard players set $version admo.data 010300
scoreboard players set $version admo.data 010400

# Creates a loaded sign for the datapck somewhere in the world
forceload add 9232029 6397680
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Called from function: 2mal3:admo/core/first_run/main
# Datapack by 2mal3

tellraw @a [{"text":"Advanced Monsters Datapack v1.3.0 by 2mal3 was installed!","color":"blue"}]
tellraw @a [{"text":"Advanced Monsters Datapack v1.4.0 by 2mal3 was installed!","color":"blue"}]
2 changes: 1 addition & 1 deletion data/2mal3/functions/admo/core/first_run/update.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ tellraw @a[scores={admo.debug_mode=3..}] [{"text":"[","color":"gray"},{"text":"A


# Set version variable in format xx.xx.xx
scoreboard players set .version nola.data 010300
scoreboard players set .version nola.data 010400
2 changes: 1 addition & 1 deletion data/2mal3/functions/admo/core/reload.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ scoreboard objectives add admo.data dummy

# Initializes the datapack at the first startup or new version
execute unless score .first_run admo.data matches 1 run function 2mal3:admo/core/first_run/main
execute if score .first_run admo.data matches 1 unless score $version admo.data matches 010300 run function 2mal3:admo/core/first_run/update
execute if score .first_run admo.data matches 1 unless score $version admo.data matches 010400 run function 2mal3:admo/core/first_run/update

# Starts the loops
schedule function 2mal3:admo/core/loop 1s replace
6 changes: 3 additions & 3 deletions data/2mal3/functions/admo/core/uninstall/uninstall.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ setblock 9232029 1 6397680 minecraft:stone
function 2mal3:random/uninstall

# Sends an uninstallation message to all players
tellraw @a [{"text":"Advanced Monsters Datapack v1.3.0 by 2mal3 was successfully uninstalled."}]
tellraw @a [{"text":"Advanced Monsters Datapack v1.4.0 by 2mal3 was successfully uninstalled."}]

# Disables the datapack
datapack disable "file/Advanced-Monsters-Datapack-v1.3.0"
datapack disable "file/Advanced-Monsters-Datapack-v1.3.0.zip"
datapack disable "file/Advanced-Monsters-Datapack-v1.4.0"
datapack disable "file/Advanced-Monsters-Datapack-v1.4.0.zip"
12 changes: 6 additions & 6 deletions pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 6,
"description": "The Advanced Monsters Datapack v1.3.0 by 2mal3!"
}
}
{
"pack": {
"pack_format": 6,
"description": "The Advanced Monsters Datapack v1.4.0 by 2mal3!"
}
}

0 comments on commit 38695df

Please sign in to comment.