Sparky983 / vision-gui

A minimal GUI API for Paper
http://vision.sparky983.me
MIT License
15 stars 0 forks source link

Support state API #210

Open Sparky983 opened 3 months ago

Sparky983 commented 3 months ago

Introduces Support for State

This pull request introduces support for state.

Examples

The examples have been updated to use the new features added by this PR.

Installation

You can download this pull request at:

<repositories>
    <repository>
        <id>sparky983-snapshots</id>
        <url>https://repo.sparky983.me/snapshots</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>me.sparky983</groupId>
        <artifactId>vision-paper</artifactId>
        <version>state-SNAPSHOT</version>
    </dependency>
</dependencies>
repositories {
    maven("https://repo.sparky983.me/snapshots")
}

dependencies {
    implementation("me.sparky983:vision-paper:state-SNAPSHOT")
}
repositories {
    maven { url 'https://repo.sparky983.me/snapshots' }
}

dependencies {
    implementation 'me.sparky983:vision-paper:state-SNAPSHOT'
}

Closes #203

Sparky983 commented 3 months ago

TODO: decide whether it is worth implementing slot(Slot, Button) and, if so, figure out its semantics

Sparky983 commented 1 month ago

TODO: decide whether its worth waiting for https://github.com/Sparky983/state/issues/5 to be closed. if implemented it wouldn't be well supported.