Releases: jakobkmar/KSpigot
1.20.3
1.20.2
- updated to Minecraft 1.20.2 by @DarkVanityOfLight
- now using Kotlin 1.9.21 and up-to-date kotlinx dependencies
1.20.1
1.19.2
1.19.1
1.19.0
1.19 Support
- added
values()
,allColors()
andallDecorations()
to KColors (Thanks to @mooziii) - more Entity extensions (Thanks to @mooziii)
- added
Location.toSimpleBlockString()
(Thanks to @MiraculixxT)
Full Changelog: v1.18.2...v1.19.0
1.18.2
This release is focused on bringing compatibility for Minecraft 1.18.2 and further enforce the Paper first policy:
- nearly everything that used Bungee ChatColors is replaced with TextColor and TextDecoration
- where possible, Strings were replaced with Components
- the LiteralTextBuilder was adapted to Components
- Component extensions requested in #36
- fixed Chunk.allBlocks height (thanks to @Krxwallo)
- ArmorStand locking extensions (thanks to @mooziii)
Some mentions on Components and TranslatableComponents:
- When you add a Component that has newLines in it to a lore, only the content before the linebreak will be shown (Maybe there'll be a paper method in the future to split the Components to fix this)
- You'll have to render TranslatableComponents before using them in ItemStacks (displayname, lore)
1.18.0
Upgrading to KSpigot for 1.18 (from 1.17)
Use it with paperweight (really (like really))
Please use this library together with the paperweight Gradle plugin, as it remaps the obfuscated parts of the KSpigot
jar to mojmap, and adds all necessary dependencies with one bundle!
settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://papermc.io/repo/repository/maven-public/")
}
}
build.gradle.kts
plugins {
id("io.papermc.paperweight.userdev") version "VERSION"
}
dependencies {
paperDevBundle("1.18.1-R0.1-SNAPSHOT")
implementation("net.axay:kspigot:1.18.0")
}
Removed features
The wrapper for nbt compounds has been removed, use CompoundTag
of net.minecraft instead!
Upcoming features
Due to Paper now being binary compatible with all other Minecraft modding toolchains, expect to see features
from FabrikMC on the paper side!
Paper first policy
From now on, KSpigot only supports Paper. Use it with "vanilla" Spigot at your own risk. It is highly suggested that you
use Paper together with this library.
1.17.4
1.17.3
KSpigot 1.17.3
Improved Brigardier support
- deprecated
simpleSuggests
andsimpleExecutes
in favor ofruns
and a lot of new "suggest" functions - fix: commands can now be executes by anyone be careful when updating to this version, make sure that you secure all your command execution logic using
requiresPermission
- the user of the Brigardier wrapper now does not have to interact with any nms components anymore
New small extensions
- see #26 (comment)
onClose
function for inventory guis
- see #25 by @Skyslycer
Fix for specific click action types not calling GUIClickEvent