HomeJavaModsDuskLib
DuskLib

a library mod with simplified access to certain features.

registering

you can register items using a simple command and if you run the datagen it auto generates translations based on item names

easy randoms

it has some functions to make selecting randoms easier or some useful commands for index selecting

for example : DuskRandom.pick(a list of any kind) and it will return the index of the selected entry

or proc chances for example : DuskRandom.chance(float percentage) and it will return a boolean that shows it proced or not

this will be required for my mods from now on

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more