Skip to content

Library for accessing hidden types with version incompatibility.

License

Notifications You must be signed in to change notification settings

Pesekjak/Vitrum

Repository files navigation

Vitrum

Library for accessing hidden types with version incompatibility.

LICENSE RELEASE


This library was designed mainly for Spigot plugin development to make working with the server code easier, as method and class names are often changed between versions.

Vitrum allows developers to create single interface that can be mapped to multiple different methods of different server versions. During this process no reflection calls are required and everything is handled via dynamically created classes.

This project is heavily inspired by Glass, while offering a slightly altered API design that prioritizes flexibility over intuitive usage.

Working example can be seen in the test directory.

Importing

Gradle

repositories {
    maven {
        name = "machinemcRepositoryReleases"
        url = uri("https://repo.machinemc.org/releases")
    }
}

dependencies {
    implementation("me.pesekjak:vitrum:VERSION")
}

Maven

<repositories>
    <repository>
        <id>machinemc-repository-releases</id>
        <name>MachineMC Repository</name>
        <url>https://repo.machinemc.org/releases</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>me.pesekjak</groupId>
        <artifactId>vitrum</artifactId>
        <version>VERSION</version>
    </dependency>
</dependencies>

License

Vitrum is free software licensed under the MIT license.

About

Library for accessing hidden types with version incompatibility.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages