mirror of
https://github.com/KAMKEEL/CustomNPC-Gecko-Addon.git
synced 2026-11-20 01:49:41 +00:00
Best Naming Ever!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This commit is contained in:
1 parent
70d93d561c
commit
3e72e7b559
18 files changed
+42
-42
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package com.goodbird.npcgecko.client.model;
|
||||
|
||||
import com.goodbird.npcgecko.entity.EntityCustomModel;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import software.bernie.geckolib3.model.AnimatedGeoModel;
|
||||
|
||||
public class ModelCustom extends AnimatedGeoModel<EntityCustomModel> {
|
||||
@Override
|
||||
public ResourceLocation getAnimationFileLocation(EntityCustomModel entity) {
|
||||
return entity.animResLoc;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResourceLocation getModelLocation(EntityCustomModel entity) {
|
||||
return entity.modelResLoc;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResourceLocation getTextureLocation(EntityCustomModel entity) {
|
||||
return entity.textureResLoc;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user