Skip to content
Gugas749 edited this page Nov 5, 2026 · 2 revisions

AbyssCore API — Developer Guide

AbyssCore 0.1.0 · NeoForge 1.21.1 (main) · Forge 1.20.1 · package com.gugas749.abysscore.api

This is the full reference for mods that build on AbyssCore. Every public class under com.gugas749.abysscore.api is covered here, with examples.

The main idea: AbyssCore provides the mechanism (storage, syncing, packets, drawing, permission checks), and your mod decides the policy: the numbers, the triggers, what things do.

The API is the same source code on NeoForge 1.21.1 and Forge 1.20.1. The only exceptions are GeckoLib (its packages differ per version, see GeckoLib) and a few vanilla types that changed between versions, which are called out where they matter. Examples are written for NeoForge 1.21.1, and Forge differences are marked Forge 1.20.1:.


Contents

  1. Setup: depending on AbyssCore
  2. Sides, threads and lifecycle: read this first
  3. Permissions — AbyssPermissionHandler, AbyssPermissionLevel, AbyssClientPermission
  4. Networking — AbyssNetworking, AbyssChannel, AbyssPacketCodec, AbyssPacketRegistrar, AbyssPacketContext
  5. Synced player data — AbyssSyncedAttachment
  6. Corruption — AbyssCorruption, CorruptionData
  7. Damage — AbyssDamage, AbyssDamageSources, AbyssDamageTypes, DamageTypeBuilder
  8. Continuous effects — AbyssEffectHandler
  9. Screen overlays — AbyssScreenOverlay, AbyssOverlaySpec
  10. Commands — AbyssCommand, AbyssCommandRegistrar
  11. GUI toolkit — screens, tabs, widgets, layout, dialogs, drawing, theme
  12. GeckoLib — AbyssGeoItem, AbyssGeoEntity, AbyssGeoBase
  13. Outside the API package: vanish and config queries
  14. Complete example: a mana mod
  15. Limitations, troubleshooting and changelog
  16. Quick reference

Clone this wiki locally