Another Update...
- Added a condition that will execute a macro function only if the path of storage exists (Global logic)
- Updated to add support for the latest snapshot
- Slow falling effect level is now applied 127 instead of 255 if VoidTP.ApplyEffect setting is enabled
- A couple of other small fixes
Edit: Should work fine on 24w06a
Edit 2: Survives 24w09a, I Just need to reverse that effect change but it's definitely not important.
Edit 3: Yeah I lost motivation to maintain this datapack but still most things should work fine, if you want help with updating the datapack, you can contact me on discord.
The Beta Phase
- Updated pack.mcmeta
- Added support for snapshot 23w51a & 23w51b
- Renamed some folders and files
- Updated messages
- Almost all messages are almost similar now in color, format etc.
- Attempts to reduce file size
- Code cleanup
After this, the updates will be slower because I will only release them if they are really that important (Fixing a major bug, version updates etc)
Just another update
This update aims on improving /trigger VoidTP.MinHeight
and looking forward into the Beta phase, it will just aim at fixing bugs that will be reported
-
Improvements to
/trigger VoidTP.MinHeight
:- This command can now set specific teleport Y-Levels for each world if the logic is set to
per-world
in/trigger VoidTP.Logic
- Getting the storage, getting the world and checking if the player is at minimum Y-level is now done inside the
events
folder instead ofexecutors
folder
- This command can now set specific teleport Y-Levels for each world if the logic is set to
-
If minimum Y-level for global is 0 then it is now set to
-1
in order to not break anything -
Fixed
/trigger VoidTP.Help
misspelt as/trigger VoidTP.help
inside the help menu (I was so confused while typing this) -
With this update the wiki and the repository have been moved to a new organization
Ps: if you didn't understand anything check out the wiki
Bug fixes, Improvements, Better naming & Additions
- Added
/trigger VoidTP.Rotation
- Added
/trigger VoidTP.Logic
- Removed
/trigger VoidTP.SendToParent
- Merged
/trigger VoidTP.AddSpawn
into/trigger VoidTP.SetSpawn
- Sets per-world or global spawns based on logic types same as
/trigger VoidTP.RemoveSpawn
- Sets per-world or global spawns based on logic types same as
- Updated messages
- All messages are no longer bold or italic
/trigger VoidTP.MinHeight
message now returns the value that was entered
- Fixed a bug wherein if Minimum height (At which the player teleports to set point) was 0, it would run the teleport functions
- Updated pack.mcmeta
- Older versions will not be tested but the support will be still continued (23w31a-1.20.2)
- Some internal additions
- Some code optimizations
- Slow falling effect now applies for 1 second
- Slow falling particles are now hidden
- Updated Help menu
Most Important update yet
This updates fixes a major problem that was: Per world teleport points.
Changelog:
-
Added ability to set spawns for every world
- Requires the
VoidTP.SendToParent
to be disabled
- Requires the
-
Added command
/trigger VoidTP.AddSpawn
- This command is completely different from
/trigger VoidTP.SetSpawn
- Only works when
VoidTP.SendToParent
is disabled
- This command is completely different from
-
Modified the the
/trigger VoidTP.RemoveSpawn
command- Now it works differently when
/trigger VoidTP.SendToParent
is disabled/enabled
- Now it works differently when
-
Organized some commands into folders
-
Removed
/trigger VoidTP.SendToCurrent
as it has been replaced by/trigger VoidTP.AddSpawn
-
Updated messages
Hello, sorry for quick updates:
this update focuses on fixing some bugs and changing logic of /trigger VoidTP.SetSpawn
command
Changes:
-
Changed how the set spawn command stores co-ordinates, instead of using
execute store result...
, now it usesdata modify storage foo:bar i.x set from entity...
directly- This also fixes a bug where decimal numbers were not stored for some reason hence not allowing to store precise location
-
Fixed a message spam that was introduced in one of the previous updates (I found this out after I installed datapack on my server, NOBODY reported this :(, the code was looking fine tho. )
-
Re-arranged commands for better readability
-
Updated help menu ("/trigger VoidTP.SendToCurrent" was not shown)
-
Updated messages for "/trigger VoidTP.SendToParent" command
Edit: Please use version 0.0.7 because this one has a message spam bug
This update focuses on code improvements and some additional features, more can be seen here
Main changes:
-
added
/trigger VoidTP.RemoveSpawn
command -
Renamed
/trigger VoidTP.DimensionCheck
to/trigger VoidTP.SendToParent
-
Added
/trigger VoidTP.TeleportToCurrent
command -
Renamed
/trigger VoidTP.setspawn
to/trigger VoidTP.SetSpawn
(Case sensitive)
Slowfalling now applies for 3 seconds instead of 4 (Maybe reduced in future)
- Renamed storage
minecraft:voidtp
tovtp:voidtp
- This means you have to re-run the setspawn command
- Added a Apply Effect check as an alternative to
/gamerule falldamage
- Updated help menu
- Updated messages for dimension check
- Added a new command:
- /trigger VoidTP.ApplyEffect
- Enables/disables applying of slow falling effect
- Added new command
- The command:
/trigger VoidTP.DimensionCheck
- Enables/Disables Dimension checking and teleporting to the spawn world
-
Improved help command menu
-
Moved min-height function to teleport_event
-
Removed some useless lines of code
-
Added dimension detection
-
Please use
/gamerule falldamage false
- For this version only
- Switched to function macros (added in 23w31a)
- Added a new command
/trigger VoidTP.Help
- This command shows the help menu
- Updated pack.mcmeta
- The datapack should now support version starting from snapshot 23w31a to latest
- That also means that versions below 23w31a, like 1.20.1 are not supported
-
With this update the code is now available on Github
-
Removed an check that would have prevented changing values in MinHeight command further if it was set to 0 (The value 0 will be still ignored)
-
Please use
/gamerule falldamage false
- For this version only