- check_circle Functions
- check_circle Recipes
- 1,893 views, 1 today
- 317 downloads, 0 today
Required Resource Pack
7
Version Minecraft 1.20.1 - 1.20.2
Sorry for my English. I use a translator.
This datapack will add a refund apple. Eat it and teleport home to the spawn point. Thanks to it, you can travel without thinking about "how far to return home". Now it's a matter of 5 seconds. It doesn't matter where you are and in which dimension it will work.
Write a comment and give me a diamond if you like it.
Let me know if you find an error in the work of the date pack. Or upgrade suggestions.
Sorry for my English. I use a translator.
This datapack will add a refund apple. Eat it and teleport home to the spawn point. Thanks to it, you can travel without thinking about "how far to return home". Now it's a matter of 5 seconds. It doesn't matter where you are and in which dimension it will work.
Write a comment and give me a diamond if you like it.
Resource pack?
It will help to distinguish a simple golden apple from a returnable one.
Where to get it in survival?
1. Find in chests in vanilla minecraft structures
2. Create from gold apple, ender pearl, amethyst shard and echo shard. By placing in the crafting table in any way.
3. Go fishing
2. Create from gold apple, ender pearl, amethyst shard and echo shard. By placing in the crafting table in any way.
3. Go fishing
Where to get it in the creative?
/function tp_apple:give_apple
Let me know if you find an error in the work of the date pack. Or upgrade suggestions.
Compatibility | Minecraft 1.20 |
Tags |
1 Update Logs
Update #1 : by MrFraLMan 11/03/2023 5:05:11 amNov 3rd, 2023
Fixed a bug where other players didn't hear sounds and didn't see teleportation effects.
6104722
119
Create an account or sign in to comment.
Just a few remarks though :
- for the giving of the custom item, consider using a loot_table instead of a summon command and a give command. This way, it will be easier to maintain in the future if you want to change something about the item.
- in your tick function, you are calling the load function. That is useless as the load function is already called on the world loading.
- in the ender_apple function, every command is ran as and at the player. You can specify the context out of the function by doing
/execute as @a[tag=has_eaten_ender_apple] at @s run function ender_apple
- lastly, you can detect when a player eat an ender apple with an advancement (consume_item should work fine). In the reward function, give the player some tag that tell they have eaten the apple.
Hope this helps
In fact, I didn't really understand in view of ignorance of the language. At the moment, this is a test version, there are many disadvantages in it, such as non-preservation of HP and hunger. Reading death into statistics. But 'm already working on it. I'm going to add the "mirror"; artifact as well. As a reusable teleportation option. Inspired by the game terraria.