Links
Tags
Creators
Details
Licensed MIT
Published 2 years ago
Updated last year
All versions
1.2.0+1.20.1
Release
[1.20.1] Pommel - Held Item Models 1.2.0+1.20.1last year 2,153
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client-side
Client and server
Changes
Additions:
- New predicate: is_using predicate will change the item model when you hold the use/right click with any item
- is_using has an "interpolation" of ~1sec to swap to other item models over time as it changes back to the normal model when the player stops using said item
- Thrown projectiles (eggs, snowballs, enderpearls, etc.) all use a new predicate: is_thrown
- New predicate: is_submerged when the player is under minecraft:water (doesn't work with other liquids)
- When an item entity is thrown into water but then is no longer in water (i.e. you remove the water) the item still stays in it's "submerged" state
- is_using and is_submerged also change the item model in the gui
Changes:
- Villagers, Pandas, and Witches all now use the is_held predicate instead of is_ground
- Note that these entities will still also take the display settings of the Ground display settings for said model. If need be, you can change the Ground display rotation, translation, scale to make items look better when held in these entity's hands.
- is_ground no longer changes the item model for thrown projectiles
Known Issues:
- is_using - Using an item and quickly switching to another may change the item model for a couple ticks for the client player.
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:fsc3VDsD:DEn6kbdo"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:fsc3VDsD:DEn6kbdo"
}

