Langue

PandaLib

PandaLib

Modrinth

A Library mod used by The Panda Oliver

2.3M téléchargements 91 abonnés mis à jour 2mo ago
dernière v0.6.1 Modrinth
Fabric Forge Neoforge 1.19.2 – 1.21.11 Library

banner.png

Discord
Modrinth
Curseforge
GitHub

Fabric API

About:

PandaLib is a library mod for Minecraft that provides various APIs and utilities to simplify mod development.

The library is written in Kotlin, and some APIs might not be fully supported by Java.

Current Features:

  • Multi-Loader Framework (WIP)
  • Config API
    • Synchronization API
    • Premade formats: JSON
  • Event/Listener API
  • Deferred registration API
  • Networking API
    • Play phase support
    • Configuration phase support
  • Embedded libraries
    • Universal Serializer
    • Embedded Kotlin libraries
      • Kotlin Standard Library
      • Reflect
      • Coroutines
      • Serialization
      • IO
      • DateTime

Future Features:

| Planned | In development |
|--------------------------------------------------|------------------------|
| Config Serializers (TOML, YAML, XML, Properties) | Multi-Loader Framework |
| Config Menu API | |
| Wiki / Docs | |

Supported versions and mod loaders:

| Mod loader | Versions |
|------------|-------------------|
| Fabric | 1.20 – 1.21.10 |
| NeoForge | 1.20.5 – 1.21.10 |
| Forge | Support has ended |

Development is targeted 1.21.10


Development:

Looking for a specific version's codebase

Kotlin DSL

repositories {
	mavenCentral()
	maven("https://repo.pandasystems.dev/repository/maven-public/")
}

dependencies {
	modApi("dev.pandasystems:pandalib-common-<game version>:<version>") // Common
	api("dev.pandasystems:pandalib-neoforge-<game version>:<version>")  // NeoForge
	modApi("dev.pandasystems:pandalib-fabric-<game version>:<version>") // Fabric

	// Only needed if you want to use the embedded Kotlin libraries in NeoForge environments.
	additionalRuntimeClasspath(kotlin("stdlib"))
	additionalRuntimeClasspath(kotlin("stdlib-jdk8"))
	additionalRuntimeClasspath(kotlin("stdlib-jdk7"))
	additionalRuntimeClasspath(kotlin("reflect", version = "2.2.0"))
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.10.2")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-serialization-core:1.8.1")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-serialization-cbor:1.8.1")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-datetime:0.6.2")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-io-core:0.7.0")
	additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.7.0")
}

Thanks to Kinetic Hosting for supporting this project

Partner Banner

Every purchased server via my affiliate link will help support me and my work.

License

The project is licensed under the GNU LGPLv3

Versions

Beta
0.6.1
fabric · 1.20 · 2mo ago
# Version 0.6.1 ## Bug fixes - Fixed a mistake where mixin was set to take ownership of a directory containing Kotlin code, which is incompatible with mixin…
397
Beta
0.6.1
fabric · 1.20.1 · 2mo ago
# Version 0.6.1 ## Bug fixes - Fixed a mistake where mixin was set to take ownership of a directory containing Kotlin code, which is incompatible with mixin…
17.6k
Beta
0.6.1
fabric · 1.20.2 · 2mo ago
# Version 0.6.1 ## Bug fixes - Fixed a mistake where mixin was set to take ownership of a directory containing Kotlin code, which is incompatible with mixin…
110
Beta
0.6.1
neoforge · 1.20.2 · 2mo ago
# Version 0.6.1 ## Bug fixes - Fixed a mistake where mixin was set to take ownership of a directory containing Kotlin code, which is incompatible with mixin…
57
Beta
0.6.1
neoforge · 1.20.3 · 2mo ago
# Version 0.6.1 ## Bug fixes - Fixed a mistake where mixin was set to take ownership of a directory containing Kotlin code, which is incompatible with mixin…
15
Beta
0.6.1
fabric · 1.20.3 · 2mo ago
# Version 0.6.1 ## Bug fixes - Fixed a mistake where mixin was set to take ownership of a directory containing Kotlin code, which is incompatible with mixin…
36
Beta
0.6.0
fabric · 1.20 · 2mo ago
# Version 0.6.0 - Updated Kotlin to 2.3.0 - Updated Kotlin STDLib to 2.3.0 - Updated Kotlin Reflect to 2.3.0 - Updated Kotlinx Serialization to 1.9.0 -…
44
Beta
0.6.0
fabric · 1.20.1 · 2mo ago
# Version 0.6.0 - Updated Kotlin to 2.3.0 - Updated Kotlin STDLib to 2.3.0 - Updated Kotlin Reflect to 2.3.0 - Updated Kotlinx Serialization to 1.9.0 -…
517
Beta
0.6.0
neoforge · 1.20.2 · 2mo ago
# Version 0.6.0 - Updated Kotlin to 2.3.0 - Updated Kotlin STDLib to 2.3.0 - Updated Kotlin Reflect to 2.3.0 - Updated Kotlinx Serialization to 1.9.0 -…
15
Beta
0.6.0
fabric · 1.20.2 · 2mo ago
# Version 0.6.0 - Updated Kotlin to 2.3.0 - Updated Kotlin STDLib to 2.3.0 - Updated Kotlin Reflect to 2.3.0 - Updated Kotlinx Serialization to 1.9.0 -…
16
Beta
0.6.0
neoforge · 1.20.3 · 2mo ago
# Version 0.6.0 - Updated Kotlin to 2.3.0 - Updated Kotlin STDLib to 2.3.0 - Updated Kotlin Reflect to 2.3.0 - Updated Kotlinx Serialization to 1.9.0 -…
12
Beta
0.6.0
fabric · 1.20.3 · 2mo ago
# Version 0.6.0 - Updated Kotlin to 2.3.0 - Updated Kotlin STDLib to 2.3.0 - Updated Kotlin Reflect to 2.3.0 - Updated Kotlinx Serialization to 1.9.0 -…
12

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

Télécharger PandaLib

B 0.6.1 1.20 fabric 7.6 MB B 0.6.1 1.20.1 fabric 7.6 MB B 0.6.1 1.20.2 fabric 7.6 MB B 0.6.1 1.20.2 neoforge 7.6 MB B 0.6.1 1.20.3 neoforge 7.6 MB B 0.6.1 1.20.3 fabric 7.6 MB B 0.6.0 1.20 fabric 7.6 MB B 0.6.0 1.20.1 fabric 7.6 MB B 0.6.0 1.20.2 neoforge 7.6 MB B 0.6.0 1.20.2 fabric 7.6 MB B 0.6.0 1.20.3 neoforge 7.6 MB B 0.6.0 1.20.3 fabric 7.6 MB B 0.6.0 1.20.4 neoforge 7.6 MB B 0.6.0 1.20.4 fabric 7.6 MB B 0.6.0 1.20.5 neoforge 7.5 MB B 0.6.0 1.20.5 fabric 7.5 MB B 0.6.0 1.20.6 neoforge 7.5 MB B 0.6.0 1.20.6 fabric 7.5 MB B 0.6.0 1.21 neoforge 7.5 MB B 0.6.0 1.21 fabric 7.5 MB B 0.6.0 1.21.1 neoforge 7.5 MB B 0.6.0 1.21.1 fabric 7.5 MB B 0.6.0 1.21.2 neoforge 7.5 MB B 0.6.0 1.21.2 fabric 7.5 MB B 0.6.0 1.21.3 neoforge 7.5 MB B 0.6.0 1.21.3 fabric 7.5 MB B 0.6.0 1.21.4 neoforge 7.5 MB B 0.6.0 1.21.4 fabric 7.5 MB B 0.6.0 1.21.5 neoforge 7.5 MB B 0.6.0 1.21.5 fabric 7.5 MB B 0.6.0 1.21.6 neoforge 7.5 MB B 0.6.0 1.21.6 fabric 7.5 MB B 0.6.0 1.21.7 neoforge 7.5 MB B 0.6.0 1.21.7 fabric 7.5 MB B 0.6.0 1.21.8 neoforge 7.5 MB B 0.6.0 1.21.8 fabric 7.5 MB B 0.6.0 1.21.9 neoforge 7.5 MB B 0.6.0 1.21.9 fabric 7.5 MB B 0.6.0 1.21.10 neoforge 7.5 MB B 0.6.0 1.21.10 fabric 7.5 MB B 0.6.0 1.21.11 neoforge 7.5 MB B 0.6.0 1.21.11 fabric 7.5 MB A 1.0.0-ALPHA.2.2 1.20 fabric 7.3 MB A 1.0.0-ALPHA.2.2 1.20.1 fabric 7.3 MB A 1.0.0-ALPHA.2.2 1.20.2 neoforge 7.4 MB A 1.0.0-ALPHA.2.2 1.20.2 fabric 7.4 MB A 1.0.0-ALPHA.2.2 1.20.3 neoforge 7.4 MB A 1.0.0-ALPHA.2.2 1.20.3 fabric 7.4 MB A 1.0.0-ALPHA.2.2 1.20.4 neoforge 7.4 MB A 1.0.0-ALPHA.2.2 1.20.4 fabric 7.4 MB

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.