fix: use Ntx4Core.id

This commit is contained in:
LordMZTE 2023-11-01 17:44:52 +01:00
parent 604a904036
commit f498742076
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -1,31 +1,32 @@
package net.anvilcraft.ntx4core.cosmetics;
import net.anvilcraft.anvillib.cosmetics.ICosmetic;
import net.anvilcraft.ntx4core.Ntx4Core;
import net.minecraft.util.Identifier;
public class AlecCosmetic implements ICosmetic {
@Override
public Identifier getAnimationFileLocation() {
return new Identifier("ntx4core", "animations/alec.json");
return Ntx4Core.id("animations/alec.json");
}
@Override
public Identifier getModelLocation() {
return new Identifier("ntx4core", "geo/alec.json");
return Ntx4Core.id("geo/alec.json");
}
@Override
public Identifier getTextureLocation() {
return new Identifier("ntx4core", "textures/alec.png");
return Ntx4Core.id("textures/alec.png");
}
@Override
public Identifier getID() {
return new Identifier("ntx4core", "alec");
return Ntx4Core.id("alec");
}
@Override
public String getIdleAnimationName() {
return "animation.alec.idle";
}
}
}