Tags
Creators
Details
0.30.0
Compatibility
Changes
Hi folks,
This update makes InvSee++ compatible with CraftBukkit 1.21.6. This release has a minor version bump because of the addition of animal armour and saddle slots to player inventories (yes, really, I am not kidding). To support these inventory slots, the slots with numbers 41 and 42 will be used to represent the respective items. The cursor slot has been moved to number 43. The default inventory mirror has been updated to reflect this change.
For developers making use of the API:
- The PlayerInventorySlot enum has been expanded to include the new BODY and SADDLE slots.
- The array returned by MainSpectatorInventory#getOffHandContents() now will include the 'body' and 'saddle' items when running on CraftBukkit 1.21.6.
- The method MainSpectatorInventory#setOffHandContents(ItemStack[]) will now always require an itemstack array of length 3, when running on CraftBukkit 1.21.6.
Cheers!
Supplementary resources
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:bYazc7fd:Runcbxxn"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:bYazc7fd:Runcbxxn"
}

