Repository navigation
Home
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:.
- Setup: depending on AbyssCore
- Sides, threads and lifecycle: read this first
-
Permissions —
AbyssPermissionHandler,AbyssPermissionLevel,AbyssClientPermission -
Networking —
AbyssNetworking,AbyssChannel,AbyssPacketCodec,AbyssPacketRegistrar,AbyssPacketContext -
Synced player data —
AbyssSyncedAttachment -
Corruption —
AbyssCorruption,CorruptionData -
Damage —
AbyssDamage,AbyssDamageSources,AbyssDamageTypes,DamageTypeBuilder -
Continuous effects —
AbyssEffectHandler -
Screen overlays —
AbyssScreenOverlay,AbyssOverlaySpec -
Commands —
AbyssCommand,AbyssCommandRegistrar - GUI toolkit — screens, tabs, widgets, layout, dialogs, drawing, theme
-
GeckoLib —
AbyssGeoItem,AbyssGeoEntity,AbyssGeoBase - Outside the API package: vanish and config queries
- Complete example: a mana mod
- Limitations, troubleshooting and changelog
- Quick reference
- Setup: depending on AbyssCore
- Sides, threads and lifecycle: read this first
- Permissions
- Networking
- Synced player data
- Corruption
- Damage
- Continuous effects
- Screen overlays
- Commands
- GUI toolkit
- GeckoLib
- Outside the API package: vanish and config queries
- Complete example: a mana mod
- Limitations, troubleshooting and changelog
- Quick reference