-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d78b62
commit c2440fb
Showing
7 changed files
with
25 additions
and
57 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
src/client/java/diacritics/owo/mixin/client/ExampleClientMixin.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/client/java/diacritics/owo/mixin/client/PlayerListEntryMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package diacritics.owo.mixin.client; | ||
|
||
import net.minecraft.client.network.PlayerListEntry; | ||
import net.minecraft.util.Identifier; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.injection.At; | ||
import org.spongepowered.asm.mixin.injection.Inject; | ||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; | ||
|
||
@Mixin(value = PlayerListEntry.class, priority = Integer.MAX_VALUE) | ||
public abstract class PlayerListEntryMixin { | ||
@Inject(method = "getSkinTexture", at = @At("HEAD"), cancellable = true) | ||
public void onGetSkinTexture(CallbackInfoReturnable<Identifier> cir) { | ||
cir.setReturnValue(Identifier.of("minecraft", "textures/entity/zombie/drowned_outer_layer.png")); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters