GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Dat-Developer-Mods/datmoddingapi: A library containing shared functionality used by Dat Developer mods

BranchesTags
Open more actions menu

Latest commit

 

History

93 Commits
93 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
gradle/wrapper
gradle/wrapper
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
checkstyle.xml
checkstyle.xml
 
 
gradle.properties
gradle.properties
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

A modding library for DatDeveloper

MIT License GitHub Release

Features

Concurrent Tasks

Concurrent Tasks

A system for scheduling tasks to execute concurrently, optionally after a delay

Concurrent Tasks execute on another thread, and thus can lead to race conditions if thread safety is not followed

Delayed Events

A system for scheduling tasks to execute after a condition is met

Events run on the server thread, on the server tick event, thus are thread safe

Events are an implementation of IDelayedEvent, for an example of an event look at DelayedTeleportEvent

Localisation

DatLocalisation

A framework for loading localisation strings

Commands

Pager

A command utility for taking a list of objects and converting them into a series of pages that are navigable using in-text buttons.

Permissions

DatPermissions

A permission abstraction system that allows testing permission nodes without worrying about the permission backend

Supports forge and sponge permission APIs

Utilities

AgeUtil

A simple utility for converting a delta time into a friendly relative time message

DatChatFormatting

A set of standardised chat colours for consistently formatting chat messages

DatCodec

A few useful codecs for serialising common values

Currently Implemented: UUID, Enums, ChunkPos

DatMessageFormatter

A utility for formatting strings into chat Components using variable replacements and shorthands for formatting directives

NotificationHelper

A Utility with functions to simplify sending various types of notifications to a player

Supports displaying notifications as a title (in the middle of the player's screen), above the hotbar, and in chat.

DatTeleporter

A simple ITeleporter implementation for moving the player to a specific location in another dimension

Does not create a portal and does not make a sound on teleporting

Documentation

General help can be found at https://github.com/Dat-Developer-Mods/datmoddingapi/wiki

Javadocs can be found at https://api.datdeveloper.com/

Using as a library

DatModdingAPI is available as a maven library at https://maven.datdeveloper.com/

To add to your project, add the following repository in build.gradle

maven {
    url "https://maven.datdeveloper.com/releases"
}

Create a version variable in gradle.properties, changing MINCRAFTVERSION to your version of minecraft, and VERSION to the latest available version of Dat Modding API

datmoddingapi_version=MINECRAFTVERSION-VERSION

Then add the following dependency in build.gradle

implementation fg.deobf("com.datdeveloper:datmoddingapi:${datmoddingapi_version}")

About

A library containing shared functionality used by Dat Developer mods

api.datdeveloper.com/

Topics

forgelibraryminecraftminecraft-mod

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.