fix: use Ntx4Core.id
This commit is contained in:
parent
604a904036
commit
f498742076
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue