mirror of
https://github.com/KAMKEEL/CustomNPC-Gecko-Addon.git
synced 2026-11-14 03:49:55 +00:00
22 lines
684 B
Java
22 lines
684 B
Java
package com.goodbird.cnpcgeckoaddon.client.model;
|
|||
|
|
|
||
|
|
import com.goodbird.cnpcgeckoaddon.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;
|
||
|
|
}
|
||
|
|
}
|