Commit 9405b2c2 by Jonathan Thomas

Cleaning up Mixin code for player icon support

parent e151eddf
......@@ -17,6 +17,7 @@ All notable changes to **CreatureChat** are documented in this file. The format
### Fixed
- Changing death message timestamp output to use DEBUG log level
- Bug with build causing issues with 1.20, 1.20.1 builds (wrong minimum version set in fabric.mod.json)
## [1.2.1] - 2025-01-01
......
......@@ -17,12 +17,12 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
* loading custom player icons in the unused UV coordinates of the player skin image.
*/
@Mixin(PlayerSkinTexture.class)
public abstract class MixinPlayerSkinTexture1202Plus extends ResourceTexture implements IPlayerSkinTexture {
public abstract class MixinPlayerSkinTexture extends ResourceTexture implements IPlayerSkinTexture {
@Unique
private NativeImage cachedSkinImage;
public MixinPlayerSkinTexture1202Plus(Identifier location) {
public MixinPlayerSkinTexture(Identifier location) {
super(location);
}
......
......@@ -5,13 +5,13 @@
"client": [
"EntityRendererMixin",
"MixinPlayerCustomTexture",
"MixinPlayerSkinTexture1202Plus"
"MixinPlayerSkinTexture"
],
"env": {
"client.MixinPlayerCustomTexture": {
"minVersion": "1.20"
},
"client.MixinPlayerSkinTexture1202Plus": {
"client.MixinPlayerSkinTexture": {
"minVersion": "1.20"
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment