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