• check_circle Functions
  • check_circle Predicates
  • 3,227 views, 11 today
  • 314 downloads, 0 today
  • 11
  • 11
  • 1
Ivaynn's Avatar Ivaynn
Level 24 : Expert Miner
5

⚠️ Not compatible with the latest version of Minecraft, only works up to 1.20.4 ⚠️




LodestoneTP is a Minecraft data pack that introduces a convenient and "vanilla-friendly" teleportation using compasses and tracked lodestone blocks. It includes many options to personalize your experience and help you balance this feature to your liking.


Note: this version of the data pack only works for Java Edition 1.20.2 and other Minecraft versions released after that.


Installation


  • Download and install the data pack in your world (follow the normal instructions for data pack installation)
  • You can use /trigger LodestoneTP to verify the installation
To uninstall, use /function ltp:admin/uninstall and remove the data pack from the world files.



Getting Started

In Minecraft, a compass used on a lodestone block points toward it. With this data pack, you can sneak while holding that compass to teleport to the lodestone block.

If you enable the option for it, you can also use a recovery compass to teleport to your last death location! You can see how to do that in the section below...


To see the coordinates of your tracked compass and other information relative to the data pack, you can use this command:
/trigger LodestoneTP


Data Pack Options

This data pack includes a few options that you can change to your liking. To view and change the options in-game, you can use this command:
/function ltp:admin/options
To change an option, click it and type your value.

Example: this command changes the teleport cooldown to 5 seconds (5×20=100 ticks):
/scoreboard players set Cooldown ltp.options 100
Here's a list with all the options available:

OptionValueDefaultDescription
Enabled
0/1
1
Enable or disable teleporting
OnLodestone
0/1
1
Toggle if players must stand on a lodestone block to teleport
Cooldown
≥ 0
1200
Teleport cooldown, in ticks (20 ticks = 1 second)
SneakTime
≥ 0
100
Sneak time to teleport, in ticks
MovingCancel
0/1
0
Toggle if moving should cancel the teleport
DamageCancel
0/1
1
Toggle if taking damage should cancel the teleport
GiveResistance
0/1
1
Toggle if players are resistant to damage for a few seconds after teleporting
BreakBlocks
0/1
1
Toggle if blocks placed on top of the lodestone should break
CrossDimensions
0/1
1
Toggle if players can teleport to different dimensions
ProgressBar
0/1
1
Toggle a progress bar while sneaking
BreakCompass
0/1
0
Toggle if a compass breaks when used to teleport
TriggerInfo
0/1
1
Toggle compass information display from "/trigger LodestoneTP"
RecoveryCompass
0/1
0
Toggle if a recovery compass can be used to teleport to the death location

Default values were chosen with game balance in mind, but they're up to personal preference, so don't be afraid to change them to your liking!



Other information

- Made for Minecraft Java Edition 1.20.4
- For previous versions, check the GitHub releases in the link below
- Everything in this data pack uses the ltp prefix


Links: Discord | GitHub

CompatibilityMinecraft 1.20
Tags

1 Update Logs

LodestoneTP 1.1 : by Ivaynn 02/11/2024 11:20:58 amFeb 11th

Made for Java Edition 1.20.4

Changes:
  • Added recovery compass teleport
  • Now using macro functions to teleport
  • Improved progress bar
  • 2 new options: "TriggerInfo" (toggle) and "RecoveryCompass" (toggle)
  • Improved some checks before teleporting

Create an account or sign in to comment.

1
05/02/2024 2:19 pm
Level 35 : Artisan Nerd
sweaterduck
sweaterduck's Avatar
coollll
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome