Links
Tags
Creators
Details
Licensed MIT
Published 2 years ago
Updated last year
All versions
1.2.1+1.21.x
Release
[1.21.x] Pommel - Held Item Models 1.2.1+1.21.xlast year 893
Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platform
Fabric
Supported environments
Client-side
Client and server
Changes
Additions:
-
New predicate: pommel:first_third_person
- Value of 0.5 changes the model specified when in first person, value of 1.0 changes the model when in third person.
- Example JSON:
{ "parent": "minecraft:item/handheld", "textures": { "layer0": "minecraft:item/stick" }, "overrides": [ { "predicate": { "pommel:first_third_person": 0.5 }, "model": "minecraft:item/pommel_held_models/wooden_axe" }, { "predicate": { "pommel:first_third_person": 1.0 }, "model": "minecraft:item/pommel_held_models/golden_axe" } ] }- Item will change to custom "wooden_axe" model when in first person, and will change to custom "golden_axe" model when in third person. Other cases will render "stick".
Fixes:
- Using an item with is_used predicate will now properly reset when swapping to a new item. Before it could change item models for a couple ticks when you switch to a new item.
- Fixed a crash when right clicking with a shield with a banner pattern, or other similar items that have component range values.
- Predicate is_submerged will now properly work with thrown item entities. Item entities will now properly change to the specified is_submerged model when in water, and will stay in that state when out of water.
- Before, item entities would only use the is_submerged model even when they weren't suppposed to.
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:kcvVt1uP"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:fsc3VDsD:kcvVt1uP"
}

