mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 03:52:18 +00:00
Refactor all Gecko Internal support to CustomModel
This commit is contained in:
1 parent
c67a8e43cb
commit
ff49b1ffbd
11 files changed
+38
-111
No files matched your search
+2
-2
@@ -16,7 +16,7 @@ import software.bernie.geckolib3.core.manager.AnimationFactory;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public class EntityGeckoModel extends EntityCreature implements IAnimatable, IAnimationTickable {
|
||||
public class EntityCustomModel extends EntityCreature implements IAnimatable, IAnimationTickable {
|
||||
private 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");
|
||||
@@ -46,7 +46,7 @@ public class EntityGeckoModel extends EntityCreature implements IAnimatable, IAn
|
||||
return PlayState.CONTINUE;
|
||||
}
|
||||
|
||||
public EntityGeckoModel(World worldIn) {
|
||||
public EntityCustomModel(World worldIn) {
|
||||
super(worldIn);
|
||||
this.ignoreFrustumCheck = true;
|
||||
this.tasks.addTask(6, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
|
||||
Reference in new issue
Block a user