chore: release 1.0.0

This commit is contained in:
Timo Ley 2023-11-23 19:01:16 +01:00
parent c5de54cca7
commit 809e33e6ac
2 changed files with 13 additions and 1 deletions

View file

@ -14,6 +14,9 @@ import net.minecraft.world.World;
@Mixin(AbstractClientPlayerEntity.class)
public abstract class AbstractClientPlayerEntityMixin extends PlayerEntity {
private static Identifier ELYTRA = new Identifier("textures/entity/elytra.png");
public AbstractClientPlayerEntityMixin(World world, BlockPos pos, float yaw, GameProfile profile) {
super(world, pos, yaw, profile);
}
@ -26,4 +29,13 @@ public abstract class AbstractClientPlayerEntityMixin extends PlayerEntity {
public Identifier getCapeTexture() {
return CosmeticsManager.getCape(this.uuid);
}
/**
* @reason Custom capes & no Mojank capes
* @author tilera
*/
@Overwrite
public Identifier getElytraTexture() {
return ELYTRA;
}
}

View file

@ -9,7 +9,7 @@ fabric_loader_version=0.14.23
fabric_api_version=0.76.0+1.18.2
forge_version=1.18.2-40.2.10
mod_version=0.2.1
mod_version=1.0.0
maven_group=net.anvilcraft
archives_base_name=anvillib-18
mod_id=anvillib