use of mekanism.api.chemical.infuse.InfuseType in project Mekanism by mekanism.
the class CrTInfuseTypeBuilder method build.
@Override
protected void build(ResourceLocation registryName) {
InfuseType infuseType;
if (colorRepresentation == null) {
infuseType = new InfuseType(getInternal());
} else {
int color = colorRepresentation;
infuseType = new InfuseType(getInternal()) {
@Override
public int getColorRepresentation() {
return color;
}
};
}
CrTContentUtils.queueInfuseTypeForRegistration(registryName, infuseType);
}
Aggregations