Add compatibility notes, resource-provider and hook checks, and payload bundling script. Remove generated engine mixin stubs, engine target lists and prebuilt binaries now produced by the build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
30 lines
714 B
Java
30 lines
714 B
Java
package dev.zprestige.prestige.event;
|
|
|
|
//? if >=1.21.9 {
|
|
import net.minecraft.entity.player.SkinTextures;
|
|
//? } else {
|
|
/*import net.minecraft.client.util.SkinTextures;
|
|
*///? }
|
|
|
|
public class SkinTexturesEvent extends Event {
|
|
private SkinTextures skinTextures;
|
|
private final String playerName;
|
|
|
|
public SkinTexturesEvent(SkinTextures textures, String name) {
|
|
this.skinTextures = textures;
|
|
this.playerName = name;
|
|
}
|
|
|
|
public SkinTextures getSkinTextures() {
|
|
return this.skinTextures;
|
|
}
|
|
|
|
public void setSkinTextures(SkinTextures newTextures) {
|
|
this.skinTextures = newTextures;
|
|
}
|
|
|
|
public String getPlayerName() {
|
|
return this.playerName;
|
|
}
|
|
}
|