Tags
Creators
Details
Licensed GPL-3.0-only
Published 8 months ago
Updated 9 months ago
All versions
1.13.5
Release
v1.13.5 (2021-12-08)9 months ago 11
Compatibility
Minecraft: Java Edition
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
Platform
Bukkit
Changes
Fixed
/sign uicompatibility with Bukkit 1.18
Under the Hood
- Now that Bukkit 1.18 has introduced a stable API for opening the sign editor (
org.bukkit.entity.Player#openSign(org.bukkit.block.Sign)), we reap the following benefits:- No more dependency on CraftBukkit –
/sign uipreviously tried various reflection workarounds to invoke the sign editor and always assumed that the server was running CraftBukkit without too many changes. SignEdit for Bukkit>= 1.12.7, < 1.13.4settled on a minimally intrusive unstable API call that worked for CraftBukkit 1.8 through CraftBukkit 1.17.1, but CraftBukkit stopped mapping method names starting in CraftBukkit 1.18, which broke/sign ui. /sign uiwon't break in future versions of Bukkit – As SignEdit for Bukkit= 1.13.5now prefers to use the stable Bukkit API,/sign uiwill keep working on future major versions of Bukkit.
- No more dependency on CraftBukkit –
- For improved compatibility, the old reflection-based sign editor open call―now named
net.deltik.mc.signedit.interactions.UiSignEditInteraction.openSignEditorWithReflection()―will try to find the unstable API ("NMS")EntityHumanmethod to open the sign editor based on theTileEntitySignpassed into that method rather than by the nameEntityHuman.openSign(). CraftBukkit no longer maps the NMS method names. This fix is moot for Bukkit 1.18 and newer, but it may be less likely to break other CraftBukkit variants. - The plugin will now build on Java 17. CI will continue to build on Java 1.8 for compatibility with Bukkit 1.13 servers.
- Gradle will now use Java 1.8 to build the plugin.
Redistributors or future versions of this plugin intending to build on newer versions of Java can change the Java toolchain language version in the
build.gradlefile to override this behavior. - CI now uses a newer Java 17 image for build-time dependencies. The resulting build artifact will remain compatible with Java 1.8.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ylgRcIHr:CARuUSxs"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ylgRcIHr:CARuUSxs"
}

