Moved geo_npc animation file into resources

This commit is contained in:
Goodbird committed 2024-07-02 09:32:39 +03:00
1 parent 185e8579c7
commit 451702817d
3 files changed
+2565 -2

No files matched your search

@@ -4,7 +4,7 @@ import net.minecraft.nbt.NBTTagCompound;
public class CustomModelData {
private String model = "geckolib3:geo/npc.geo.json";
private String animFile = "custom:geo_npc.animation.json";
private String animFile = "npcgecko:animations/geo_npc.animation.json";
private String idleAnim = "";
private String walkAnim = "";
private String meleeAttackAnim = "";
@@ -21,7 +21,7 @@ import software.bernie.geckolib3.core.manager.AnimationFactory;
public class EntityCustomModel extends EntityCreature implements IAnimatable, IAnimationTickable {
private final AnimationFactory factory = new AnimationFactory(this);
public ResourceLocation modelResLoc = new ResourceLocation("geckolib3", "geo/npc.geo.json");
public ResourceLocation animResLoc = new ResourceLocation("custom", "geo_npc.animation.json");
public ResourceLocation animResLoc = new ResourceLocation("npcgecko", "animations/geo_npc.animation.json");
public ResourceLocation textureResLoc = new ResourceLocation("geckolib3", "textures/model/entity/geo_npc.png");
public String idleAnimName = "";
public String walkAnimName = "";