Back to mods
DatapackLib project artwork

CurseForge · Hytale mod

DatapackLib

Makes datapack creation easier for plugin devs

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which DatapackLib release should I use?

Updated 7 months ago
Latest stable file DatapacksPlugin-0.0.2.jar
Game version Not listed
Mod system Built-in Hytale mod system

DatapackLib DatapacksPlugin-0.0.2.jar targets Hytale. Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer. No required dependencies listed for this file.

Where it goes

Where should DatapackLib be installed in Hytale?

Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

Separate client mod Not supported
World host / dedicated server Required
Mod system for this release Built-in Hytale mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

Put Hytale mods on the world host or dedicated server. Singleplayer runs a local server too; Hytale does not use separate client mods.

What else does DatapackLib DatapacksPlugin-0.0.2.jar need?

DatapacksPlugin-0.0.2.jar. Change the file and its required mods may change too.

No required dependencies listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional project dependencies. Check the creator notes before changing an existing world.

Before you install it

Add DatapackLib without breaking your instance.

Built for DatapackLib DatapacksPlugin-0.0.2.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use DatapacksPlugin-0.0.2.jar. It targets Hytale; another release may target a different game build or dependency set.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Enable it on the world host

    Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside DatapacksPlugin-0.0.2.jar. It opens that exact file at the source.

About this project

What does DatapackLib add?

Adds easy to create Datapacks for HyTale Plugins

How to use:

  • Create a class for your entries implementing DatapackEntry.
  • Create a codec for your datapack entry.
  • In you Plugin setup method create a new DatapackReader using the pack name and codec for your entries.
  • Access your datapack entries by the DatapackManager class.

For more customised use of datapacks you can use save your datapack reader to a property for getDataObjects method and getDataValues method.

Additionally, If extending DatapackReader you can override saveToManager to sort the entries before saving or alternatively save the entries to a new property to fit your use case.

Backup DataGen is available by appending a DatapackProvider to the DatapackReader constructor. DatapackProvider#generatePack will be called if no pack entries could be read.

Saves packs to Saves/worldName/mods/modName/datapackName

See github for example classes and comments.

Project description from CurseForge.

Recent files

DatapackLib releases and Hytale builds

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.