File tree Expand file tree Collapse file tree 4 files changed +20
-14
lines changed
java/org/polyfrost/polyplus/mixin/client
1.16.5-forge/src/main/java/org/polyfrost/polyplus/mixin/client
1.21.1-fabric/src/main/java/org/polyfrost/polyplus/mixin/client Expand file tree Collapse file tree 4 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 1- package org .polyfrost .polyplus .client . mixin ;
1+ package org .polyfrost .polyplus .mixin . client ;
22
33import com .mojang .authlib .GameProfile ;
44import net .minecraft .client .network .NetworkPlayerInfo ;
1111import org .spongepowered .asm .mixin .injection .Inject ;
1212import org .spongepowered .asm .mixin .injection .callback .CallbackInfoReturnable ;
1313
14+ /**
15+ * Replaces the location with which players' capes are rendered with our own custom cape location should the user have one equipped.
16+ *
17+ * @author subat0mic
18+ * @since 1.0.0
19+ */
1420@ Mixin (NetworkPlayerInfo .class )
1521public class Mixin_ReplaceCapeTexture {
1622 @ Shadow @ Final private GameProfile gameProfile ;
Original file line number Diff line number Diff line change 11{
2- "compatibilityLevel" : " ${java_version}" ,
3- "minVersion" : " 0.8" ,
4- "package" : " org.polyfrost.polyplus.client .mixin" ,
5- "refmap" : " mixins.${mod_id}.refmap.json" ,
6- "injectors" : {
7- "maxShiftBy" : 5
8- },
9- "client" : [
10- " Mixin_ReplaceCapeTexture"
11- ],
12- "verbose" : true
2+ "compatibilityLevel" : " ${java_version}" ,
3+ "minVersion" : " 0.8" ,
4+ "package" : " org.polyfrost.polyplus.mixin" ,
5+ "refmap" : " mixins.${mod_id}.refmap.json" ,
6+ "injectors" : {
7+ "maxShiftBy" : 5
8+ },
9+ "client" : [
10+ " client. Mixin_ReplaceCapeTexture"
11+ ],
12+ "verbose" : true
1313}
Original file line number Diff line number Diff line change 1- package org .polyfrost .polyplus .client . mixin ;
1+ package org .polyfrost .polyplus .mixin . client ;
22
33import net .minecraft .client .multiplayer .PlayerInfo ;
44import net .minecraft .client .player .AbstractClientPlayer ;
Original file line number Diff line number Diff line change 1- package org .polyfrost .polyplus .client . mixin ;
1+ package org .polyfrost .polyplus .mixin . client ;
22
33import net .minecraft .client .multiplayer .PlayerInfo ;
44import net .minecraft .client .player .AbstractClientPlayer ;
You can’t perform that action at this time.
0 commit comments