Minecraft Data Packs / Quality of Life

Fast Forward Enchantment / Version 1.20 - 1.20.2

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 1,303 views, 10 today
  • 32 downloads, 0 today
  • 5
  • 3
Required Resource Pack
WoodItBeOk's Avatar WoodItBeOk
Level 25 : Expert Nerd
5
Heyy, this is a simple datapack that adds a new enchantment to the game. This enchantment will increase the gamerule randomTickSpeed depending on how many piece of equipement all players have.

How to obtain the enchantment
- To obtain the enchantment you'll first need to acquire the Speedup Card :
The Speedup Card has a 1 out of 500 chance to drop when mining short grass.
- Then you'll need to stand on an enchanting table while holding the Speedup Card in your offhand and the armor piece in your mainhand.
- After 5 seconds and a beautiful animation, you will loose the card and have the enchantment on you armor piece.

How does the enchantment work
This enchantment is like no other enchantment: it is a collective enchantment. What does that mean? It means that the more this enchantment is being used, the more powerful it gets. Ergo:

- If 1 player has this enchantment on 3 armor pieces, then the enchantment is of level 3.
- if 1 player has this enchantment on 3 armor pieces and another player has 2 of them, then the enchantment is of level 5.

The enchantment level is NOT to the randomTickSpeed gamerule. It instead allows each player to "bump" the level. So if a player is wearing all 4 pieces, the gamerule gets increase by a lot more than if you were to only wear 3.

The base threshold is set to level 16. So after the game has detected that 16 armor piece with the enchantment is being worn, the gamerule will never go higher.

If you want to take a look or change the output of the randomTickSpeed, go in the FastForwardEnchants_1.20_v1.1.0\data\fastforward\functions\scoreboard_fastforward.mcfunction file and configure it however you like. There is indications in the file to help you.

/// Important message ///
This datapack is the start of a new project of mine which will include more enchants. Don't hesitate to share any feedback you have

You can modify this datapack how you want. However, I would appreciate if you could credit me if you use my base code, thank you!
CompatibilityMinecraft 1.20
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome