• check_circle Functions
  • check_circle Structures
  • 1,494 views, 2 today
  • 36 downloads, 1 today
  • 23
  • 19
Gunivers's Avatar Gunivers
Level 28 : Expert Engineer
21

Gunivers-Libs Minecraft Data Pack Our websiteGunivers-Libs Minecraft Data Pack Our Discord

What is it for?

The principle is simple: group all the elements that can be useful to create any Minecraft map or system. For example, you will be able to use mathematical functions like sine, cosine, square root etc. (you have always dreamed of it, admit it!). But this is just the beginning!

Here is a little list of things that you can easily do with this datapack:
  • Detect biome properties (ID, temperature, can rain/snow ? etc.)
  • Get or set block using IDs in scoreboards (allow to detect/compare blocks + blockstates)
  • Same for items + possibilty to convert block ID <-> item ID
  • Manage entity health and IDs
  • Manage entity location, orientation, view and movements
  • Create links between entities (synchronise/mirror movements for exemple)
  • Get system time in scoreboards that is not impacted by server lags
  • Manage vectors to create complexe physic systems!
  • Plenty of mathematical functions (because math are cool doesn't it?)
  • And much more!

Pathfinding system included in the Glib datapack

How does it works?

Place the datapack on your world, and call the functions you need, when you need them, quite simple no? To know what the lib allows you to do, go to the documentation page by clicking here!




The lib is almost completely passive! In other words, as in any programming language, if you do not use functions, they will not impact the performance of your map and/or datapack!



Moreover, if you want to optimize the weight of your map, the lib has been built to allow you to quickly find the functions you use. The license of the lib allows you to extract them to include them in your own datapack!


Plot of different math functions



CompatibilityMinecraft 1.13
toMinecraft 1.18
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome