Minecraft Data Packs / Other

Race Timekeeping, Waymarking and Gates

  • check_circle Functions
  • check_circle Structures
  • 220 views, 0 today
  • 8 downloads, 0 today
  • 1
  • 0
vegandelicious84's Avatar vegandelicious84
Level 9 : Apprentice Miner
1
Race Timekeeping, Waymarking and Gates Minecraft Data Pack
It is a datapack with gates in different types pointing into different directions, as used in my „CeBit“-Map ( www.youtube.com/watch?v=C4AEVwEOovs )

+ a small script that you can mark paths with: It calculates setblock commands for all waymarkers on the way from A to B (tutorial: www.youtube.com/watch?v=410aP54isow )

+ Redstone timekeeping logic (The gates got commandblocks in the floor to detect you flying through - code integrated but you have to adapt some number values to assign them) Youtube Demo of the Redstone-Race-Mechanics: youtu.be/wky3SkK7kfA?si=Ct8eORdN4cQ08T9D
it also works Offline local LANmultiplayer and in Singleplayer
Tutorial in readme.txt

I tested it in MULTIPLAYER now again (in LAN we were 2 Players) after some adaptions. It worked. The gates can now distinguish who flys through them and count Laps separately. Time is counted over all Laps and who does most Laps in a given time, wins. the momentary timecount (since starting the race) is put out via chat and thus you can also read them in the Logfiles afterwards (e.g. "Player X reached lap 5 at 6min51sec").
There is a function called namespace:resetrace that sets the counters back to 0.
Crediti thank all the users who help with Python and MC questions here or on pages like Github, Stackoverflow and others
CompatibilityMinecraft 1.13
toMinecraft 1.21
Tags

Create an account or sign in to comment.

Welcome