Files
CustomNPC-Gecko-Addon/src/main/java/com/goodbird/cnpcgeckoaddon/client/model/ModelCustom.java
T

22 lines
684 B
Java
Raw Normal View History

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;
}
}