2024-01-24 22:05:14 -05:00
|
|
|
package com.goodbird.cnpcplusgecko.client.model;
|
2024-01-24 11:12:51 +03:00
|
|
|
|
2024-01-24 22:05:14 -05:00
|
|
|
import com.goodbird.cnpcplusgecko.entity.EntityCustomModel;
|
2024-01-24 11:12:51 +03:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|